469,362 Members | 2,611 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,362 developers. It's quick & easy.

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 3275
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by martin de vroom | last post: by
2 posts views Thread by cassidyc | last post: by
2 posts views Thread by Ricky K. Rasmussen | last post: by
10 posts views Thread by Guadala Harry | last post: by
14 posts views Thread by =?Utf-8?B?UHVjY2E=?= | last post: by
8 posts views Thread by =?Utf-8?B?RGF2ZQ==?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.