BCGControlBar Pro for MFC
HICON CBCGPGlobalUtils::GrayIcon ( HICON  hIcon)

Returns grayed out icon.

Call this method to convert an icon identified by hIcon to gray scale.

If the method succeeds, it returns a handle to grayed icon.

Parameters
hIconA handle to an icon to convert.