GXDrawTransparentBitmap

void GXDrawTransparentBitmap(CDC* pDC, CBitmap* pBitmap, int xStart,int yStart, COLORREF cTransparentColor);

pDC

Points to the device context.

pBitmap

Points to the CBitmap object.

xStart

Upper left x-coordinate for drawing the bitmap.

yStart

Upper left y-coordinate for drawing the bitmap.

cTransparentColor

Specifies the color for transparent pixels.

Remarks

This function lets you draw transparent bitmaps. The parameter cTransparentColor specifies the color for transparent pixels. All pixels in the bitmap which are to be transparent should be marked with this color.

Macros

 Class Overview |  Class Members