TreeView_GetLineColor macro

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

Syntax


COLOREF TreeView_GetLineColor(
   HWND hwndTV
);

Parameters

hwndTV

Type: HWND

Handle to the tree-view control.

Return value

Returns the current line color, or the CLR_DEFAULT value if none has been specified.

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

See also

TVM_GETLINECOLOR

 

 

Show: