views:

4

answers:

0

I'm developing an add-in for Visual Studio 2010, the add-in consists of a form with some controls.
I want my form to stay on top of the calling VS instance, but not the top of all the running applications. The form should not be modal, the ideal solution would be that the form would stay visible when the calling VS is the active window, but VS would still be accessible.

What I've tried so far:

  • Setting TopMost property to true - this makes the form appear on top of everything else running on my system
  • ShowDialog - This makes the form modal, I still need VS to be usable with the form open
  • Tried setting the Parent or Owner property of the form, these take Control and Form objects respectively, and I only have the dte object of the running VS

Any help would be appreciated. Thank you in advance...