CMFCToolBar::SetGrayDisabledButtons
Specifies whether the disabled buttons on the toolbar are dimmed or if disabled images are used for the disabled buttons.
void SetGrayDisabledButtons(
BOOL bGrayDisabledButtons
);
Parameters
- [in] bGrayDisabledButtons
A Boolean value that specifies how to display disabled buttons. If this parameter is TRUE, the framework dims disabled buttons. Otherwise, the framework uses the collection of disabled images.
Remarks
By default, disabled buttons are dimmed.
Requirements
Header: afxtoolbar.h