We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.


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

BOOL IsButtonEnabled( 
   int nID  
) const;


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