win32gui.SetBkColor

int = SetBkColor(hdc, color )

Sets the background color for a device context

Parameters

hdc : int/PyHANDLE

Handle to a device context

color : int

Return Value

Returns the previous color, or CLR_INVALID on failure