By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,946 Members | 741 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,946 IT Pros & Developers. It's quick & easy.

Problem : Why owned form become TopMost

P: 3
hi everybody
i have a MDI form that it shows child forms with the "Show()" method .
in one of that child forms i show another form that owned by this form again with the "Show()" method .
this cause this second form become TopMost . means that all another forms are shown behind this second form .
why this happen ?

code is like this :
/// within MDI form
frmChild1 frm = new frmChild1();
frm.MdiParent = this;
frm.Show();

/// within frmChild1 form
frmTest frmtest = new frmTest();
frmtest.Owener = this;
frmtest.Show();


in above example frmtest become TopMost and another child forms are shown behind this form
Feb 9 '09 #1
Share this Question
Share on Google+
1 Reply


Plater
Expert 5K+
P: 7,872
That would be the nature of MDI windows would it not?
Feb 9 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.