CToolBarCtrl::IsButtonEnabled

BOOL IsButtonEnabled( int nID ) const;

Return Value

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

CToolBarCtrl OverviewClass MembersHierarchy Chart

See Also   CToolBarCtrl::EnableButton, CToolBarCtrl::GetState, CToolBarCtrl::SetState, CToolBarCtrl::IsButtonChecked, CToolBarCtrl::IsButtonPressed, CToolBarCtrl::IsButtonHidden, CToolBarCtrl::IsButtonIndeterminate, CToolBarCtrl::IsButtonHighlighted