TopMost problem

  • Thread starter Thread starter Hovhannes Asatryan
  • Start date Start date
H

Hovhannes Asatryan

Hello guys.
I have a problem with a topmost form.
I am writting in C#.
I have Mdi Form wich has 2 child forms.
I want to set one of them as a topmost window, but when I sets MdiParent the
TopMost property does not working.
How can I set the one form as a topmost?

Can anyone send me code example?
 
Hi,

There's not a TopMost child in MDI philosophy.
If you want see any window as a TopMost you've
got to take if out of MDI children and set it
Owner to MDI parent form.

HTH
Marcin
 
Yes but in that case the top most window does not disappear when I click on
another application, it stays as a topmost deactivated window, it disappears
only when I minimize the main window.
 
Hovhannes,

Would it be topmost or something else.

This is really a funny question, it should be TopMost however not forever on
Top.

Cor
 
Back
Top