Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Call this member function to set the current line color for the tree view control.
COLORREF SetLineColor(
COLORREF clrNew = CLR_DEFAULT
);
Parameters
- clrNew
The new line color.
Return Value
The previous line color.
Remarks
This member function implements the behavior of the win32 message TVM_SETLINECOLOR, as described in the Windows SDK.
Example
COLORREF clrPrev = m_TreeCtrl.SetLineColor(RGB(255, 0, 0));
Requirements
Header: afxcmn.h