> I would like to force the parent window's title bar to paint as Active
> when a tool window is active.
You're fighting the OS; if the tool window is active, then the parent
*isn't* active.
What is it you actually want to do here? For instance, it sounds like
you might want "parent.AddOwnedWindow(child);" or similar; this allows
the two forms to show non-modally (i.e. both can be used), but the OS
treats them as a single entity with regards to focus, minimise, etc
(typical for "find" dialogs, etc).
Marc
rory.groves@gmail.com - 11 Feb 2008 03:59 GMT
Thanks for the response.
Take a look at any graphics editors (PhotoShop, Paint.Net). They allow
both tool windows and parent windows to appear "activated".
Paint.Net is entirely written in c#, so i know its possible.
Alreading using the "Owner" property, but it still deactivates the
parent window.
> > I would like to force the parent window's title bar to paint as Active
> > when a tool window is active.
[quoted text clipped - 9 lines]
>
> Marc