win32gui.SetTextColor

int = SetTextColor(hdc, color )

Changes the text color for a device context

Parameters

hdc : int

Handle to a device context

color : int

The RGB color value - see win32api::RGB

Return Value

Returns the previous color, or CLR_INVALID on failure