Programming Tips - Win32: How to display a bitmap semi-transparently. BitBlt()'s SRCAND raster-operation almost works but it blurs the image.
Date: 2003Oct2
Update: 2025oct23
Platform: win32
Library: GDI
Q. Win32: How to display a bitmap semi-transparently. BitBlt()'s SRCAND raster-operation almost works but it blurs the image.
A. Use AlphaBlend() instead of BitBlt()
AlphaBlend() and BitBlt() are part of the old GDI interface.
You might want to check out the newer GDI+ interface.