Export (0) Print
Expand All
MFC
Expand Minimize

CTreeCtrl::GetLineColor 

This member function implements the behavior of the win32 message TVM_GETLINECOLOR, as described in the Platform SDK.


COLORREF GetLineColor( ) const;

The current line color.

// Gain a pointer to our tree control
CTreeCtrl* pCtrl = (CTreeCtrl*) GetDlgItem(IDC_TREE1);
ASSERT(pCtrl != NULL);
COLORREF cr = pCtrl->GetLineColor();

Community Additions

ADD
Show:
© 2014 Microsoft