This documentation is archived and is not being maintained.

Gray and Dithered Bitmap Functions 

Gray Bitmap Functions

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

Original Vs Gray Interface

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.

Dither Bitmap Sample

AfxDrawDitheredBitmap

Draws a bitmap with a dithered background.

AfxGetDitheredBitmap

Copies a bitmap with a dithered background.

See Also

Show: