Sign in to follow this  
adam17

WS_EX_TRANSPARENT

Recommended Posts

ive been toying around with CreateWindowEx in NeHe's lesson 1 code to see if i can get the window to display just a quad with a transparent background. the only thing i figured i could do was plug that value into the CreateWindowEx function. obviously nothing happens because i get a black window with a white quad. what else needs to be changed? any ideas?

Share this post


Link to post
Share on other sites
Look up layered windows. WS_EX_TRANSPARENT is only for showing through windows created by the same thread.

You might also be able to use window regions to get the effect you want.

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