int GetBkMode(hDC)
This function returns the background mode of the specified device. The background mode is used with text, hatched brushes, and pen style that is not a solid line.
Parameter | Type/Description |
hDC | HDC Identifies the device context. |
The return value specifies the current background mode. It can be OPAQUE or TRANSPARENT.