WindowBlinds : DirectSkin
AddAdditionalThread
 

The AddAdditionalThread method is used to skin an additional thread. The thread owning the hWnd passed in is the thread which will be added to the skinning list. By default DirectSkin will only skin the thread that you call DoWindow from.

long AddAdditionalThread(
long
hWnd);

Parameters

hWnd
Handle to the window in the new thread.

Return Values

 

0 = no errors
2 = invalid window

Remarks

DirectSkin uses hooks to skin new windows that have been created.  This is done on a per thread basis.  When a window is created in a new thread that DirectSkin has not hooked, AddAdditionalThread will need to be called on the created window before it is shown.  Once this is done the first time in the new thread, all additional windows created in the thread will be skinned.

See Also

 

There are no related topics to this method.