parent window, child window

P

Piotrek Stachowicz

Hi,
I've got two windows: main one (visible in task bar) and, the other one
which is created by main (not visible in task bar). Now, how can I make the
"child" window obey his parent, i.e. when main window is brought to front,
child should also be brought to front, etc.

Thx,
Piotrek Stachowicz
 
D

Dmitriy Lapshin [C# / .NET MVP]

Hi,

You should either properly create the child window upfront, specifying which
window is its parent, or you could set the parent later with the SetParent
API call.
 

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