CToolBarCtrl::IsButtonPressed

BOOL IsButtonPressed( int nID ) const;

Return Value

Nonzero if the button is pressed, 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 pressed. Consider calling GetState if you want to retrieve more than one button state.

CToolBarCtrl OverviewClass MembersHierarchy Chart

See Also   CToolBarCtrl::PressButton, CToolBarCtrl::GetState, CToolBarCtrl::SetState, CToolBarCtrl::IsButtonEnabled, CToolBarCtrl::IsButtonChecked, CToolBarCtrl::IsButtonHidden, CToolBarCtrl::IsButtonIndeterminate, CToolBarCtrl::IsButtonHighlighted