CToolBarCtrl::HideButton
Hides or shows the specified button in a toolbar control.
BOOL HideButton(
int nID,
BOOL bHide = TRUE
);
Параметры
nID
Command identifier of the button to hide or show.bHide
TRUE to hide the button, FALSE to show it.
Возвращаемое значение
Nonzero if successful; otherwise zero.
Заметки
If you want to change more than one button state, consider calling SetState instead.
Требования
Header: afxcmn.h