473,404 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 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 3522
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 onclick="window.showModalDialog('/dialog.asp',null,'dialogHeight: 200px; dialogWidth: 400px; dialogTop:...
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 as = new form1(); af.show(); This form can also...
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 annoying "bug": If we open a modal dialog using...
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 selected, displays the full-size image in a...
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' forms. Yet, they all seem somewhat 'active' in...
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 child form in turn opens it's own child form...
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 and retain the data users have entered. I thought...
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 pass back to the first dialog. Both need to be...
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 open) do a frmChild.ShowDialog(). At the end of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.