CTreeCtrl::GetInsertMarkColor

COLORREF GetInsertMarkColor( ) const;

Return Value

A COLORREF value that contains the current insertion mark color.

Remarks

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

Example

// The pointer to my tree control.
extern CTreeCtrl* pmyTreeCtrl;

// Use the highliight color for the insert mark color.
COLORREF crColor = ::GetSysColor(COLOR_HIGHLIGHT);
pmyTreeCtrl->SetInsertMarkColor(crColor);
ASSERT(pmyTreeCtrl->GetInsertMarkColor() == crColor);

CTreeCtrl OverviewClass MembersHierarchy Chart

See Also   CTreeCtrl::SetInsertMarkColor