MFC
Expand Minimize
This topic has not yet been rated - Rate this topic

CToolBarCtrl::IsButtonEnabled 

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


BOOL IsButtonEnabled(
   int nID 
) const;

Parameters

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.