Window with another window on top of it.

U

UJ

I have a situation where I have a window and I want to put another window on
top of it that opaque at 50%. That works fine. But I'd also like to have it
that when I move the main window, the opaque one moves with it.

How can I do this? Do I need to go to an MDI which I really don't want to.
Or do I have to move the opaque window in the main window's Move event?

TIA - Jeff.
 
S

Stoitcho Goutsev \(100\) [C# MVP]

Jeff,

Yes you need to do something. If the covering window is not a child of the
main window it won't tag along. You need to write a code to adjust the
coordinates of the semitransparent window when the main window moves.
 
U

UJ

Here's a dumb question - how do I make the covering window a child window?
Or is that only available in MDI?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top