CToolBarCtrl::IsButtonChecked

BOOL IsButtonChecked( int nID ) const;

Return Value

Nonzero if the button is checked; otherwise zero.

Parameters

nID

Command identifier of the button in the toolbar.

Remarks

Call this function to determine whether the specified button in a toolbar control is checked. Consider calling GetState if you want to retrieve more than one button state.

CToolBarCtrl OverviewClass MembersHierarchy Chart

See Also   CToolBarCtrl::CheckButton, CToolBarCtrl::GetState, CToolBarCtrl::SetState, CToolBarCtrl::IsButtonEnabled, CToolBarCtrl::IsButtonPressed, CToolBarCtrl::IsButtonHidden, CToolBarCtrl::IsButtonIndeterminate, CToolBarCtrl::IsButtonHighlighted