How to create Transparent Bitmap?
-
Hi there, I am working on CStatic control of VC++. I want to load Bitmap on the CStatic control with Transparent Background. For that I have created the Object of CBitmap. But It seems that CBitmap is not having transparent property. Can anybody show me the way, how to make CBitmap object transparent? I am creating Bitmap with CretateBitmap() method and after that I am Loading Bitmap to the CBitmap Object with LoadBitmap() method. These are the basic steps required to load Bitmap to the newly created Bitmap, but I don't know how to make it Transparent? Is there anybody who knows the trick? Please, show me the way... Thanx in Advance, Regards, Kav India
-
Hi there, I am working on CStatic control of VC++. I want to load Bitmap on the CStatic control with Transparent Background. For that I have created the Object of CBitmap. But It seems that CBitmap is not having transparent property. Can anybody show me the way, how to make CBitmap object transparent? I am creating Bitmap with CretateBitmap() method and after that I am Loading Bitmap to the CBitmap Object with LoadBitmap() method. These are the basic steps required to load Bitmap to the newly created Bitmap, but I don't know how to make it Transparent? Is there anybody who knows the trick? Please, show me the way... Thanx in Advance, Regards, Kav India
See my program http://www.codeproject.com/wtl/smasher.asp which has a transparent bitmap class.