TreeView_GetBkColor macro

Retrieves the current background color of the control. You can use this macro or send the TVM_GETBKCOLOR message explicitly.

Syntax


COLORREF TreeView_GetBkColor(
   HWND hwndTV
);

Parameters

hwndTV

Type: HWND

Handle to a tree-view control.

Return value

Returns 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.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

See also

TreeView_SetBkColor

 

 

Show: