BCGControlBar Pro for MFC
BOOL CBCGPToolBar::GetGrayDisabledButtons ( ) const
inline

Tells whether the images of the toolbar's disabled buttons should be grayed out or taken from the collection of disabled images.

Returns
Nonzero if the images of the disabled buttons should be grayed out; zero if the images should be obtained from the collection of disabled images.

Call this function to determine in which way to display the toolbar's disabled buttons. Use SetGrayDisabledButtons() to switch between grayed out images and the images from the collection of disabled images.