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.

Re: Window with another window on top of it. by Stoitcho

Stoitcho
Fri Jan 06 10:53:34 CST 2006

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.


--

Stoitcho Goutsev (100)

"UJ" <fred@nowhere.com> wrote in message
news:efw4dutEGHA.868@TK2MSFTNGP10.phx.gbl...
>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.
>
>



Re: Window with another window on top of it. by UJ

UJ
Fri Jan 06 11:04:13 CST 2006

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

"Stoitcho Goutsev (100) [C# MVP]" <100@100.com> wrote in message
news:euAWpFuEGHA.3524@TK2MSFTNGP15.phx.gbl...
> 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.
>
>
> --
>
> Stoitcho Goutsev (100)
>
> "UJ" <fred@nowhere.com> wrote in message
> news:efw4dutEGHA.868@TK2MSFTNGP10.phx.gbl...
>>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.
>>
>>
>
>