Activate multiple windows?

  • Thread starter Hong Kong Phooey
  • Start date
H

Hong Kong Phooey

I have an app with two windows, neither is shown modally. One is a main
window, one is a tool window. The main window is being shown by
Application.Run(). The tool window is subsequently shown by Show(). When I
minimize the main window, the tool window disappears. The tool window is by
design, not shown in the taskbar.

What I want is to have the tool window (As well as any subsequent tool
windows) activated when the main window is activated, but not draw focus
away from the main window.

Can anyone lend some insight on this?
If you've ever used Microangelo, this should give some idea of what I want
to do.

--

Any help is appreciated.
Thanks in advance.

Hong Kong Phooey
 
L

Lloyd Dupont

even if IsMdiContainer is false, set your tool window's Owner property to
your main form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top