KevinCochran
Sun Jul 17 00:20:02 CDT 2005
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
"Phil Wright" wrote:
> 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
>
> "Kevin Cochran" <KevinCochran@discussions.microsoft.com> wrote in message
> news:08427776-ABB6-48D2-B6D2-387374D36A06@microsoft.com...
> > 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
> >
>
>
>