CToolBarCtrl::Indeterminate
Sets or clears the indeterminate state of the specified button in a toolbar control.
BOOL Indeterminate(
int nID,
BOOL bIndeterminate = TRUE
);
Parameters
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.
Return Value
Nonzero if successful; otherwise zero.
Remarks
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.
Requirements
Header: afxcmn.h
See Also
Reference
CToolBarCtrl::IsButtonIndeterminate