win32gui.SetBkMode

int = SetBkMode(hdc, BkMode )

Sets the background mode for a device context

Parameters

hdc : int/PyHANDLE

Handle to a device context

BkMode : int

OPAQUE or TRANSPARENT

Return Value

Returns the previous mode, or 0 on failure