Поделиться через


CTreeCtrl::GetInsertMarkColor

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

COLORREF GetInsertMarkColor( ) const;

Возвращаемое значение

A COLORREF value that contains the current insertion mark color.

Пример

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

Требования

Header: afxcmn.h

См. также

Основные понятия

CTreeCtrl Class

CTreeCtrl Members

Hierarchy Chart

CTreeCtrl::SetInsertMarkColor