
Transparent Bitmap Buttons
I don't use CBitmapButton, instead I have my own bitmap button class.
In this class, I load the bitmap telling it to map the first pixel
(top left corner) to the standard color, which gives the illusion of
transparency. If you want to check it out, see my Better Bitmap Button
download on my MVP Tips site.
joe
Quote:
>Hey, I noticed that W2000 is using a different background color for dialogs
>and my bitmap buttons don't match. Is there a way to make them transparent
>so they pick show the dialog background color? I didn't see a transparent
>color in the palette of the bitmap editor in VC?
>Mark Henri
Joseph M. Newcomer [MVP]
Web: http://www3.pgh.net/~newcomer
MVP Tips: http://www3.pgh.net/~newcomer/mvp_tips.htm