WindowBlinds : DirectSkin
DrawThemePart
 

The DrawThemePart method paints the theme part as defined by the handle passed in which was obtained via the GetThemeHandle function.

BOOL DrawThemePart(
long handle,
long x,
long y,
long width,
long height,
long frame,
long DC,
LPCTSTR caption);

Parameters

handle
A handle obtained from GetThemeHandle.
x
X coordinate used to determine where to paint in the part in the DC provided.
y
Y coordinate used to determine where to paint in the part in the DC provided.
width
Width value used to determine where to paint in the part in the DC provided.
height
Height value used to determine where to paint in the part in the DC provided.
frame
Frame is the frame index (counts from 0)
DC
The DC used to paint the part in.
caption
Caption is currently ignored.

Return Values

 

none.

Remarks

 

If the theme part handle is invalid then FALSE is returned.

See Also

 

There are no related topics to this method.