CToolBarCtrl::MarkButton

BOOL MarkButton( int nID, BOOL fHighlight = TRUE );

Return Value

Nonzero if successful; otherwise zero.

Parameters

nID

The button identifier.

fHighlight

Specifies the highlight state to be set. By default, TRUE. If set to FALSE, the button is set to its default state.

Remarks

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

CToolBarCtrl OverviewClass MembersHierarchy Chart

See Also   CToolBarCtrl::IsButtonHighlighted