WindowBlinds : DirectSkin
LoadUIS
 

The LoadUIS method tells DirectSkin which skin to use. The function does not actually load the skin, it only tells the control which skin to load. You should define a skin before calling InitWB.

short LoadUIS(
LPCTSTR
filename );

Parameters

filename
Name of the UIS file to load. This is used in the format 'skin\skin.uis'. The skin directory must be set using SetRootPath or SetRootPathStr.

Return Values

 

The function returns –1 if the skin cannot be found and 0 if it can.

Remarks

 

This method is called before calling InitWB or ReloadUIS.
To change skin after InitWB has been called, you need to call ReloadUIS.

See Also

 

DoWindow, InitWB, ReloadUIS, SetRootPath, SetRootPathStr