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 member function implements the behavior of the Win32 message TVM_GETBKCOLOR, as described in the Windows SDK.
COLORREF GetBkColor( ) const;
Return Value
A COLORREF value that represents the current window background color for the control. If this value is -1, the control is using the system window color. In this case, you can use ::GetSysColor(COLOR_WINDOW) to get the current system color that the control is using.
Example
See the example for CTreeCtrl::SetTextColor.
Requirements
Header: afxcmn.h