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:
© 2014 Microsoft