CTreeCtrl::SetLineColor
Call this member function to set the current line color for the tree view control.
COLORREF SetLineColor(
COLORREF clrNew = CLR_DEFAULT
);
Параметры
- clrNew
The new line color.
Возвращаемое значение
The previous line color.
Заметки
This member function implements the behavior of the win32 message TVM_SETLINECOLOR, as described in the Windows SDK.
Пример
COLORREF clrPrev = m_TreeCtrl.SetLineColor(RGB(255, 0, 0));
Требования
Header: afxcmn.h