Topmost Tool Window

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

Guest

Greetings,

I have a vb.net app, and I have a tool window that I was to be topmost while
the application is in focus, but not stay on top of other apps that get the
focus.

Basically, I want it to behave like the tool windows in Photoshop.

How do I set the attributes to do this?

Thanks for your help!
Kevin
 
Try setting the TopMost property of your ToolWindow. If that is causing the
window to stay above all other applications as well you could remove the
TopMost setting when your main application window loses activation and then
set the TopMost back again when it gains activation.

Phil Wright
Follow my C# microISV at....
http://componentfactory.blogspot.com
 
Thanks! I was trying to use GotFocus and LostFocus, and nothing was
happening, but the Activated and Deactivated did the trick.

Thanks for your help,
Kevin
 
Back
Top