Skip to main content
gamedev.net
🔒 Locked

Not DirectX

Started by Greg K 1 reply 350+ views
Original Post
Greg K
Greg K
I did not know where to post it. This was the closest I could find to a windows forum. I was wondering if there is a way to make a transparent list box in windows. I am using a Dialog Box and I want to see the background behind the text.
cheez_keeper
cheez_keeper
The 2 options I can think of are:
1) set the background color to the colorkey for transparency... I have no idea which one it is in a CDialog, but it IS a color (look up the docs on HBRUSH colors)
2) get a "snapshot" of what is below the window, draw the window with this picture as the background, hide the box, get the snapshot, etc... this would be slow I think, and I don''t know off hand how to do this either.

Brett Lynnes
cheez_keeper@hotmail.com
Brett Lynnescheez_keeper@hotmail.com

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.