CToolBarCtrl::Indeterminate
Sets or clears the indeterminate state of the specified button in a toolbar control.
BOOL Indeterminate(
int nID,
BOOL bIndeterminate = TRUE
);
Параметры
nID
Command identifier of the button whose indeterminate state is to be set or cleared.bIndeterminate
TRUE to set the indeterminate state for the specified button, FALSE to clear it.
Возвращаемое значение
Nonzero if successful; otherwise zero.
Заметки
Indeterminate buttons are displayed grayed, such as the way the bold button on the toolbar of a word processor would look when the text selected contains both bold and regular characters. If you want to change more than one button state, consider calling SetState instead.
Требования
Header: afxcmn.h