The AlphaBlend function displays bitmap images that have transparent or translucent pixels. And the function used for alphablend:
BOOL AlphaBlend(HDC hdcDest,
int nXOriginDest,
int nYOriginDest,
int nWidthDest,
int nHeightDest,
HDC hdcSrc,
int nXOriginSrc,
int nYOriginSrc,
int nWidthSrc,
int nHeightSrc,
BLENDFUNCTION blendFunction
);
Please refer to the following link-> http://msdn.microsoft.com/en-us/library/aa452850.aspx
source
share