WindowBlinds : DirectSkin
DetachWindow
 

The DetachWindow method causes DirectSkin to stop skinning.  All look and feel will revert back to the regular windows style.  Typically this method is called when a program is cleaning up and the process is going to be destroyed.

void DetachWindow(
long
hWnd );

Parameters

hWnd
Handle to the main window of the application.

Return Values

 

This method does not return a value.

Remarks

 

After this method is called, the DoWindow method will need to be called to resume skinning. This method must be called before calling UndoWB on skinning termination. The hWnd parameter is a legacy parameter and should be 0.

See Also

 

DoWindow, UndoWB