CToolBarCtrl::IsButtonEnabled
Determines whether the specified button in a toolbar control is enabled.
BOOL IsButtonEnabled(
int nID
) const;
Параметры
- 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.
Требования
Header: afxcmn.h