DrawThemeText(hTheme, hdc, iPartId, iStateId, pszText, dwCharCount, dwTextFlags, dwTextFlags2, pRect)
Draws the text using the theme-specified
color and font for the "iPartId" and "iStateId".
Parameters
hTheme : PyHTHEME
theme data handlehdc : int
HDC to draw intoiPartId : int
part number to drawiStateId : int
state number (of the part) to drawpszText : string
actual text to drawdwCharCount : int
number of chars to draw (-1 for all)dwTextFlags : int
same as DrawText() "uFormat" paramdwTextFlags2 : int
additional drawing optionspRect : rect
defines the size/location of the part