CToolBarCtrl::IsButtonIndeterminate

BOOLIsButtonIndeterminate(intnID**) const;**

Return Value

Nonzero if the button is indeterminate; otherwise zero.

Parameters

nID

Command identifier of the button in the toolbar.

Remarks

Call this function to determine whether the specified button in a toolbar control is indeterminate. 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.

Consider calling GetState if you want to retrieve more than one button state.

CToolBarCtrl OverviewClass MembersHierarchy Chart

See Also   CToolBarCtrl::Indeterminate, CToolBarCtrl::GetState, CToolBarCtrl::SetState, CToolBarCtrl::IsButtonEnabled, CToolBarCtrl::IsButtonChecked, CToolBarCtrl::IsButtonPressed, CToolBarCtrl::IsButtonHidden, CToolBarCtrl::IsButtonHighlighted