CTreeCtrl::GetBkColor

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 background color. If this value is -1, the control is using the system color for the background color.

Example

See the example for CTreeCtrl::SetTextColor.

Requirements

Header: afxcmn.h

See Also

Concepts

CTreeCtrl Class

CTreeCtrl Members

Hierarchy Chart

CTreeCtrl::SetBkColor