Rediger

Del via


TVM_GETBKCOLOR message

Retrieves the current background color of the control. You can send this message explicitly or by using the TreeView_GetBkColor macro.

Parameters

wParam

Must be zero.

lParam

Must be zero.

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

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h

See also

TVM_SETBKCOLOR