Transparent Windows

Hi friends,
    I am trying to draw a transparent window so that when I drag it around the contents of the window below it are not obscured. As per documentation the WS_TRANSPARENT style renders a window transparent. But when it is moved around it carries the background of the window on which it was last placed i.e. it loses its transparency once it is created. So how do we make windows retain their transparency even after moving them around ?
One more problem is that I have created a generic CWnd object without the WS_TRANSPARENT style (infact I reoved it in precreatewindow). But the window still behaves the same way it behaved with WS_TRANSPARENT style. Can you give some clues ?
ganeshokadeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mikeblasCommented:
What OS are you using?  What you want to do is most easily attained in Win 2000.

..B ekiM
0
cdesignerCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ganeshokadeAuthor Commented:
Thanks for the answers. I am using Windows NT 4.0.
    Regarding using regions, I have seen the articles in codeguru. But this does not help because I am drawing non-closed pictures on my window (like for e.g. a "Cross" and so I cannot enclose a region with a cross). Maybe if you can tell me how to create non closed regions I will be able to do it. (Like how do I make a "line" as a region)

Regards Ganesh
0
cdesignerCommented:
hmmm
you saw sources?
please look at region generator
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.