COLORREF GetBkColor(hdc) | |||||
HDC hdc; | /* device-context handle | */ |
The GetBkColor function returns the current background color of the specified device.
hdc
Identifies the device context.
The return value specifies a COLORREF value for the current background color. It is CLR_INVALID if an error occurred.
SetBkColor