Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the specified button in a toolbar control is indeterminate.
BOOL IsButtonIndeterminate(
int nID
) const;
Parameters
- [in] nID
Command identifier of the button in the toolbar.
Return Value
Positive integer if the button is indeterminate, zero if the button is not indeterminate, or -1 if an error occurs.
Remarks
Indeterminate buttons are displayed dimmed, such as the way the bold button on the toolbar of a word processor looks when the selected text contains both bold and regular characters. Consider calling GetState if you want to retrieve more than one button state.
Requirements
Header: afxcmn.h
See Also
Reference
CToolBarCtrl::IsButtonHighlighted