TreeView_GetLineColor macro (commctrl.h)
Gets the current line color. You can also use the TVM_GETLINECOLOR message directly.
Syntax
COLORREF TreeView_GetLineColor(
HWND hwnd
);
Parameters
hwnd
Type: HWND
Handle to the tree-view control.
Return value
Type: COLORREF
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
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 |