Jump to content
Sign in to follow this  
Shanheavel

Window with a transparent color

Recommended Posts

Shanheavel

I'm using SetDIBitsToDevice to display bitmap to normal window. It's simple and fast function (just one call to copy your image from memory to screen!), but it doesn't support alpha channel. So I wonder how to do it without using AlphaBlend,GDIAlpaBlend etc. Some ideas?

Share this post


Link to post
Share on other sites
UEZ

Use GDI+ instead to display a transparent image within your GUI.

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites
Shanheavel

This idea is nice, but I want to set window transparent which cooperate with SetDIBitsToDevice function. I know that my English is bad, but I hope you understand what I mean.

Edited by Shanheavel

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×