Export (0) Print
Expand All
MFC
Expand Minimize

CToolBarCtrl::IsButtonPressed

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

BOOL IsButtonPressed( 
   int nID  
) const;

nID

Command identifier of the button in the toolbar.

Nonzero if the button is pressed, otherwise zero.

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

Header: afxcmn.h

Community Additions

ADD
Show:
© 2014 Microsoft