Introduction - If you have any usage issues, please Google them yourself
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.