setting top window...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi guys,

Basically i have an overlay form which sits on top of the main form. So when
the main form gets focus i show the overlay form by calling
showDialing(mainform). This makes child window to be always on top of the
mainform. But i want these two forms on top of all forms of the applications
currently opened. If i set TopMost=true on the main form i cannot see the
overlay form and viceversa.

Any ideas how to solve the problem is appreciated.

thanks
vinod
 
Try setting the Owner of your overlay form to be the main form. An owned
form is always displayed above its owner and if both are topmost then this
should still be maintained.
 
Back
Top