win32gui.GetTextColor

int = GetTextColor(hdc)

Returns the text color for a DC

Parameters

hdc : int

Handle to a device context

Return Value

Returns an RGB color. On error, returns CLR_INVALID