WindowBlinds : DirectSkin
LoadSecondarySkin2
 

The LoadSecondarySkin2 method is similar to LoadSecondarySkin, but it takes a short path rather than the full path required by LoadSecondarySkin.

void LoadSecondarySkin2(
LPCTSTR
Skinname,
short index);

Parameters

Skinname
The path to the UIS file, relative to the set skin directory.  Example: "liquid2\\liquid2.UIS"
index
A number, from 0 to 63, that relates to an entry in a table used for secondary skinning.  See the Secondary Skins reference for more information. Important: Index 2 is used by DirectSkin when using the ShowPreview method.

Return Values

 

This method does not return a value.

Remarks

 

Unlike the LoadSecondarySkin method, the LoadSecondarySkin2 method is based on the root path, which is set with the SetRootPath or SetRootPathStr methods.

See Also

 

Secondary Skins, LoadSecondarySkin2, DestroySecondarySkin, AddPerWindowSkin, RemovePerWindowSkin, SetRootPath, SetRootPathStrShowPreview