Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GetBkColor

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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.

Headerwindows.h
Librarycoredll.lib
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2014 Microsoft