TreeView_GetLineColor macro (commctrl.h)

Gets the current line color. You can also use the TVM_GETLINECOLOR message directly.

Syntax

void TreeView_GetLineColor(
   hwnd
);

Parameters

hwnd

Type: HWND

Handle to the tree-view control.

Return value

None

Remarks

This message only retrieves line colors. To retrieve the colors of the plus sign (+) and minus sign (-) inside the buttons, use the TreeView_GetTextColor macro.

Requirements

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

See also

TVM_GETLINECOLOR