Gray and Dithered Bitmap Functions

Gray Bitmap Functions

MFC provides two functions for giving a bitmap the appearance of a disabled control.

Comparison of gray and original icon versions

AfxDrawGrayBitmap

Draws a gray version of a bitmap.

AfxGetGrayBitmap

Copies a gray version of a bitmap.

Dithered Bitmap Functions

MFC also provides two functions for replacing a bitmap's background with a dithered pattern.

Comparison of dithered and original icon versions

AfxDrawDitheredBitmap

Draws a bitmap with a dithered background.

AfxGetDitheredBitmap

Copies a bitmap with a dithered background.

See Also

Concepts

MFC Macros and Globals