Environment: Tested Platforms: Windows 98, Windows 2000, Windows NT
I have written this article to make an edit box transparent. It is very easy to make it transparent when there isn’t a bitmap image in the dialog background. But, if you have a bitmap in your dialog background and you make editbox transparent, it will become transparent but will not be redrawn properly.
I have found many programmers suffering with this problem, including me, until I wrote this article. The problem was that making an edit box transparent is very easy in a common case, but whenever you use a bitmap background, it will become a little hard to do. The main problem is that the contents of the edit box will not be redrawn properly.
Here, with this cool code, I have solved this problem. I hope it will be helpful to someone.
About the Author
I am not a well experienced programmer but always try to do my best. So, that’s why I wrote this useful article. I am working in a company as senior programmer. We develop software and hardware related to video mixing and photography. My desire is to do a lot in the graphics and image processing fields (using VC++). This is my beginning, so maybe you will not be comfortable with my code. But, your appreciation will become an inspiration for me.
Download source – 35 Kb