Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method returns the current background color for the specified device context.
static WINGDIAPI COLORREF WINAPI GetBkColor_I(HDC hdc);
Parameters
- hdc
[in] Handle to the device context for which a background color is to be returned.
Return Values
A COLORREF value for the current background color indicates success.
CLR_INVALID indicates failure.
Remarks
This method is an internal version of the GetBkColor function.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Gdi.hpp.
See Also
Gdi | GetBkColor | Gdi::GetBkMode_I | Gdi::SetBkColor_I | COLORREF
Send Feedback on this topic to the authors