Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
MFC
Expand Minimize

CToolBarCtrl::IsButtonEnabled

Determines whether the specified button in a toolbar control is enabled.

BOOL IsButtonEnabled(
   int nID 
) const;

nID

Command identifier of the button in the toolbar.

Nonzero if the button is enabled; otherwise zero.

Consider calling GetState if you want to retrieve more than one button state.

Header: afxcmn.h

Community Additions

ADD
Show:
© 2015 Microsoft