CToolBarCtrl::CheckButton
Checks or clears a given button in a toolbar control.
BOOL CheckButton(
int nID,
BOOL bCheck = TRUE
);
Параметры
nID
Command identifier of the button to check or clear.bCheck
TRUE to check the button, FALSE to clear it.
Возвращаемое значение
Nonzero if successful; otherwise zero.
Заметки
When a button has been checked, it appears to have been pressed. If you want to change more than one button state, consider calling SetState instead.
Требования
Header: afxcmn.h