WindowBlinds : DirectSkin
DrawWindowFrame
 

The DrawWindowFrame method is used to paint a preview of a skinned window into the hdc specified. The function was added for very specific purposes and it is recommended you avoid this function and use PreviewSkinToDC instead

void DrawWindowFrame(
long
hwndtoclone,
long winstyleofwindow,
long exstyleofwindow,
short state,
long FAR* rect,
long hdc );

Parameters

hwndtoclone
Handle to a window with the desired titlebar text.
winstyleofwindow
Window styles to use.
exstyleofwindow
Window extended styles to use.
 
state
Provide 1 for active window, 0 for inactive.
 
rect
Pointer to a RECT structure used for drawing to the HDC. 
 
hdc
HDC to draw to.

Return Values

 

This method does not return a value.

Remarks

  This method is usually used to render skin previews.

See Also

 

DrawSkinnedItem, DrawSkinnedItemEx