BCGControlBar Pro for MFC
BOOL CBCGPToolBarImages::GrayImages ( int  nGrayPercentage)

Grays images in the collection.

Returns
Nonzero if images in collection were grayed successfully; otherwise 0.

Use this function to gray images (make them look disabled) in collection with the specified by nGrayPercentage value.

Parameters
nGrayPercentageSpecifies gray percentage.