TopMost within application only

  • Thread starter Thread starter Luke R
  • Start date Start date
L

Luke R

My question is best explained by example.

In the VB.NET 2005 code window, if you do a ctrl+f find, the find window
stays on top when you put focus back to the code so you would think that the
find window is always on top. However, when you drag another application
over the VB.NET window, the find window is not on top of that window.

Its like its TopMost, but only TopMost within the applications forms, not
all applications.

Is there a way to do this?
 
Luke,

when calling ShowDialog you could use an overload that specifies the owner
document - say the calling form - that will achieve the effect you are after.
 
Luke,

when calling ShowDialog you could use an overload that specifies the owner
document - say the calling form - that will achieve the effect you are after.








- Show quoted text -

You can also manually specify the owner of a form and then call that
form modallessly (is that a word?). Though if I remember it can be a
little buggy at times.

Thanks,

Seth Rowe
 
Yep worked great, cheers for that.

Sergey Poberezovskiy said:
Luke,

when calling ShowDialog you could use an overload that specifies the owner
document - say the calling form - that will achieve the effect you are
after.
 
Back
Top