Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

GetBkColor (Compact 2013)

3/28/2014

This function returns the current background color for the specified device context.


COLORREF GetBkColor(
  HDC hdc
); 

hdc

[in] Handle to the device context whose background color is to be returned.

A COLORREF value for the current background color indicates success.

CLR_INVALID indicates failure.

Header

windows.h

Library

coredll.lib

Show:
© 2015 Microsoft