BCGControlBar Pro for MFC
void CBCGPToolBar::SetGrayDisabledButtons ( BOOL  bGrayDisabledButtons)
inline

Sets a special mode, when images of disabled buttons are grayed or taken from a collection of disabled images.

Call this function to specify a mode, when images of disabled toolbar buttons are grayed (TRUE), or the images of disabled buttons are taken from a collection of disabled images (FALSE).

By default, this flag is set to TRUE.

Parameters
bGrayDisabledButtonsTRUE to gray images of disabled buttons, FALSE - take their images from a collection of disabled images.