Modal dialogs and forms with TopLevel = false

C

Clive Dixon

We have an app which can have a number of forms launched via the main form.
We do not wish these other forms to be minimised when the main form is
minimised, so we have set TopLevel = false on these forms. However what we
find is that if we launch a modal dialog from the main form, we can still
activate one of the other forms but mouse input doesn't work on it (but
keyboard input does). What we would like to do in this scenario is stop any
of the other forms activiating. A model of what we want is demonstrated by
Outlook 2003 - open a new mail form, then goto main Outlook window Tools -
Options; whilst the modal options dialog is open I cannot go back to the
email form again. How do I implement this behaviour in .NET forms?
 

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