472,331 Members | 1,836 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,331 software developers and data experts.

Multiple modal dialogs simultaneously on a single form

Hi all,
I am working on a windows based client server application with
multiple forms. All forms are having custom title bars with no default
bars. There is one main form. Some forms are opened up as modal while
others are opened up as modeless on this main form.
Whenever some error occurs in client server communication we show it
in modal message box.

Now I ran into a case: a modal form is opened up on the main form.
And some error occurs in the previous server transaction which is now
displayed and opened up as a message box on the main form. But this
error message box opens up behind the already exisiting modal form.
Now user is unable to interact with this and any other opened form of
the application. This is occurring because error message box is having
the focus and it is not visible to user as it is behind the other
modal window.

And as all forms are having custom title bar so user gets no idea
that why application is not responding. But if default title bar would
be there then they gets highlighted by default. But in custom title
bar they don't get highlighted.

How can I highlight(blink) the error message box which is behind the
other modal dialog or how can I open it up on the opened modal
window??

Thanks!!
Oct 10 '08 #1
1 3422
On Oct 10, 5:30 am, Mohit <mohitscj...@gmail.comwrote:
Hi all,
I am working on a windows based client server application with
multiple forms. All forms are having custom title bars with no default
bars. There is one main form. Some forms are opened up as modal while
others are opened up as modeless on this main form.
Whenever some error occurs in client server communication we show it
in modal message box.

Now I ran into a case: a modal form is opened up on the main form.
And some error occurs in the previous server transaction which is now
displayed and opened up as a message box on the main form. But this
error message box opens up behind the already exisiting modal form.
Now user is unable to interact with this and any other opened form of
the application. This is occurring because error message box is having
the focus and it is not visible to user as it is behind the other
modal window.

And as all forms are having custom title bar so user gets no idea
that why application is not responding. But if default title bar would
be there then they gets highlighted by default. But in custom title
bar they don't get highlighted.

How can I highlight(blink) the error message box which is behind the
other modal dialog or how can I open it up on the opened modal
window??

Thanks!!
Hi,

You will need to rework your interface. It's the current modal form
the one that should display the MessageBox
Oct 10 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: martin de vroom | last post by:
Hi, I have a web page that opens a modal dialog (client side) in the following manner ...
2
by: cassidyc | last post by:
Hi, I was wondering if anyone has come accross this issue? And if they have any solutions I have that can create new copies of itself Form1...
2
by: Ricky K. Rasmussen | last post by:
Hi NG, We have a rather large ASP.NET application that uses popups to display various dialogs to the user. In our work we've come over a rather...
10
by: Guadala Harry | last post by:
I have a modal dialog that currently does all of the following except item 4. 1. lets users select a graphic from a list of thumbnails (and when...
20
by: Peter Oliphant | last post by:
How does one launch multiple forms in an application? Using Photoshop as an example, this application seems to be composed of many 'disjoint'...
23
by: Chukkalove | last post by:
Im sorry, I dont know the correct description for a hierarchy of parent and child forms. I have a main form that opens a child form modally. This...
14
by: =?Utf-8?B?UHVjY2E=?= | last post by:
Hi, I'm using VS2005 and .net 2.0. I'm creating an application that has 3 forms. I want allow users to move forward and backward with the forms...
1
by: Mike | last post by:
Hello, I have a Windows form that opens a modal dialog window. From there I can open yet another modal dialog window so I can grab some info to...
8
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
Is this possible? I have 3 forms frmGrandparent, frmParent & frmChild. Can frmGrandparent do a frmParent.ShowDialog() and then (while frmParent is...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.