Description: There a variety of methods to draw a clear color, the most simple way is to call the ready-made functions: TransparentBlt, you can also achieve the function of similar TransparentBlt through their own code, the process also has two forms, one is to do a pre mask bitmap, and the other is dynamically generated mask bitmap. This program uses the method of generating a mask bitmap to draw a transparent area bitmap.
To Search:
File list (Check if you may need any files):
TransparentTest\Debug\TransparentBltTest.exe
...............\res\bk.bmp
...............\...\football.bmp
...............\...\TransparentBltTest.ico
...............\...\TransparentBltTest.rc2
...............\resource.h
...............\StdAfx.cpp
...............\StdAfx.h
...............\TransparentBltTest.clw
...............\TransparentBltTest.cpp
...............\TransparentBltTest.dsp
...............\TransparentBltTest.dsw
...............\TransparentBltTest.h
...............\TransparentBltTest.ncb
...............\TransparentBltTest.opt
...............\TransparentBltTest.plg
...............\TransparentBltTest.rc
...............\TransparentBltTestDlg.cpp
...............\TransparentBltTestDlg.h
...............\Debug
...............\res
TransparentTest