This documentation is archived and is not being maintained.

CToolBarCtrl::IsButtonChecked

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

BOOL IsButtonChecked(
   int nID 
) const;

nID

Command identifier of the button in the toolbar.

Nonzero if the button is checked; otherwise zero.

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

Header: afxcmn.h

Show: