Page 1 of 1

Transparent Bitmap - help

Posted: Thu Apr 21, 2011 2:17 pm
by Trinity
Hello I can add a bmp to my window thanks to your advice but unfortunately I dont kno how to make it transparent? The WS_EX_TRANSPARENT flag and adding white/magenta color doesnt help to make it transparent :)
1.png
1.png (8.87 KiB) Viewed 5220 times

Re: Transparent Bitmap - help

Posted: Wed Apr 27, 2011 9:22 pm
by florian
maybe use a transparent bmp? There are "new" bmp types (32 bits) with alpha channel.
Regards,
Florian

Re: Transparent Bitmap - help

Posted: Wed Apr 27, 2011 10:21 pm
by Trinity
http://www.axialis.com/tutorials/tutorial-misc001.html

I did this according to this tutorial. Unfortunately, it still has a white background :(

Re: Transparent Bitmap - help

Posted: Thu Apr 28, 2011 9:23 am
by florian
Restorator doesn't always display transparent images correctly. It may still correctly assign it in the resources. Have you tried?

Regards,
Florian

Re: Transparent Bitmap - help

Posted: Thu Apr 28, 2011 10:40 pm
by Trinity
Yes,
I tried... :|