CToolBarCtrl::IsButtonIndeterminate

CToolBarCtrl::IsButtonIndeterminate

BOOL IsButtonIndeterminate( int nID ) 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 Overview |  Class Members |  Hierarchy Chart

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