473,396 Members | 1,921 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,396 software developers and data experts.

System modal messages/forms

I have a user who likes to keep my application minimized. He wants to have
a pop up of some sort come up to tell him he needs to return to the
application to take action.

I have used both message boxes and forms as pop ups but if the application
is minimized it only comes up on the task bar. He wants to have system
modal warning that will pop up and over ride all other applications open.
Any help is greatly appreciated.
Apr 5 '06 #1
4 2732
Greg,

That's actually very rude behavior for an application, and MS agrees,
which is why you can't create a system-modal dialog box, or have other forms
take focus when your app is in focus.

Quite frankly, I would tell your user to pay more attention, but being
that is not a viable option, I would recommend a notification tray icon,
which you can then change when the user has to be informed of a change.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Greg Smith" <gj*@umn.edu> wrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
I have a user who likes to keep my application minimized. He wants to have
a pop up of some sort come up to tell him he needs to return to the
application to take action.

I have used both message boxes and forms as pop ups but if the application
is minimized it only comes up on the task bar. He wants to have system
modal warning that will pop up and over ride all other applications open.
Any help is greatly appreciated.

Apr 5 '06 #2
Greg Smith wrote:
I have a user who likes to keep my application minimized.
He wants to have a pop up of some sort come up to tell
him he needs to return to the application to take action.


If you want to show an obvious alert but don't need to display a
message, you can call FlashWindow (via System.Runtime.Interop) to make
the program's taskbar button flash.

Eq.
Apr 5 '06 #3

Nicholas Paldino [.NET/C# MVP] wrote:
That's actually very rude behavior for an application, and MS agrees...


<bit of a rant>
If MS agrees, can we convince somebody to change Outlook to not pop up
a top most window in Outlook every time a login fails? I have three
different mailboxes and if one of them fails to retrieve on its five
minute check, I get a top most login box regardless of what application
I'm typing in. While not technically modal, it still hijacks your
active window at that moment. As others have said, a change in the
tray icon or flashing your taskbar entry is much more palateable.
</bit of a rant>

Apr 5 '06 #4
I agree with you, it definitely shouldn't do that. The Office team
walks with a big stick in general in MS, if you know what I mean.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<d2*****@yahoo.com> wrote in message
news:11**********************@e56g2000cwe.googlegr oups.com...

Nicholas Paldino [.NET/C# MVP] wrote:
That's actually very rude behavior for an application, and MS agrees...


<bit of a rant>
If MS agrees, can we convince somebody to change Outlook to not pop up
a top most window in Outlook every time a login fails? I have three
different mailboxes and if one of them fails to retrieve on its five
minute check, I get a top most login box regardless of what application
I'm typing in. While not technically modal, it still hijacks your
active window at that moment. As others have said, a change in the
tray icon or flashing your taskbar entry is much more palateable.
</bit of a rant>

Apr 5 '06 #5

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

Similar topics

2
by: D Cameron | last post by:
I'd like to be able to make a full screen form in one of my apps inescapable: disable the Start button, Alt-Tab etc. until my application closes the form. I seem to remember VB3.0 distinguishing...
3
by: Andrew Baker | last post by:
OK this has me perplexed, puzzled and bamboozled! I have a remoting service which I displayed a message box in. I then wondered what would happen if a client made a call to the service while the...
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...
5
by: Bill nguyen | last post by:
I need to popup a tiny modal dialog box when a user clicks on the "Print" button to force the user to wait for printing process to finish before he/she can continue. The model dialog box should go...
2
by: Mike | last post by:
Hi, I'm having a problem with modal forms on windows. I've written a very short test program, with a main window and a form called from the main window. The form is set to modal with...
2
by: =?Utf-8?B?TmF0aGFuIFdpZWdtYW4=?= | last post by:
Hi, I am wondering why the .NET Framework is quite different from Win32 API when it comes to displaying system modal message boxes. Consider the four following types of system modal message...
2
by: diogenes | last post by:
I have created many shortcut/popup (aka context, or right-click) menus for my application - instead of toolbars or standard drop-down menus. Within my custom menu, I am using...
4
by: =?Utf-8?B?Z2luYWNyZXNzZQ==?= | last post by:
I am trying to close/dispose multiple instances of a form but because they are modal and hidden, they do not show up in My.Application.OpenForms. They must be modal, so making them modeless is not...
1
by: Mohit | last post by:
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...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.