CToolBarCtrl::Indeterminate

BOOLIndeterminate(intnID**,BOOLbIndeterminate=TRUE);**

Return Value

Nonzero if successful; otherwise zero.

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.

Remarks

Call this function to set or clear the indeterminate state of the specified button in a toolbar control. 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.

CToolBarCtrl OverviewClass MembersHierarchy Chart

See Also   Button styles in CToolBarCtrl::AddButtons, CToolBarCtrl::IsButtonIndeterminate, CToolBarCtrl::EnableButton, CToolBarCtrl::CheckButton, CToolBarCtrl::PressButton, CToolBarCtrl::HideButton, CToolBarCtrl::GetState, CToolBarCtrl::SetState