Semi-modal dialogs?

Posted on 2006-05-12
Last Modified: 2008-01-09
My app uses modal dialog windows, but in some cases, I would like it if the modal dialog shows and allows for a designated other window to be clickable and usable, while other windows are unusable.

Does anyone have any ideas?

Question by:gregasm
    LVL 85

    Accepted Solution

    One possibility...

    Don't show things modally.

    Just disable the forms you don't want to interact with:  FormXXX.Enabled = False

    Leave the ones you want interaction with as is...
    LVL 8

    Author Comment

    That's a great suggestion. :)
    LVL 8

    Author Comment

    I was wondering if you might have any ideas regarding this question?

    LVL 11

    Expert Comment

    If the modal dialog window is doing the showing of these other windows, it can just open them non-modally when it wants to.

    LVL 8

    Author Comment

    Thanks David,

    But the modal dialog window is not doing the showing of those other windows.
    LVL 18

    Expert Comment

    by:Ravi Singh
    Are you possibly after something like this (example in C#):

          Form2 f2 = new Form2();
          f2.Owner = this;

    It'll keep Form2 "on top" and you can also access the calling form (e.g. Form1)

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
    The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now