Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the specified button in a toolbar control is checked.
BOOL IsButtonChecked(
int nID
) const;
Parameters
- nID
Command identifier of the button in the toolbar.
Return Value
Nonzero if the button is checked; otherwise zero.
Remarks
Consider calling GetState if you want to retrieve more than one button state.
Requirements
Header: afxcmn.h
See Also
Reference
CToolBarCtrl::IsButtonIndeterminate
CToolBarCtrl::IsButtonHighlighted