Solved

Alerting users of a specific event in the application

Posted on 2004-08-05
3
196 Views
Last Modified: 2010-04-15
When an event happens in my application (e.g. order is received, shipping notification), I want to grab the users attention by having some sort of notification, whether through a popup window or a sound.  If say I use a popup window, I want it to go on top of all other windows, even windows of other applications.  It should freeze all apps until the user hits 'Ok' or acknowledges the alert.  However, other processes in my application should continue, i.e., it should continue receiving orders even if the popup window is still unacknowledged.

How do I do this in C#?

I will increase points if necesary.
0
Comment
Question by:zoobird
3 Comments
 
LVL 37

Accepted Solution

by:
gregoryyoung earned 250 total points
ID: 11730187
wwelll just within your app ...

use a MessageBox or use YourForm.ShowDialog() ... providing that the other processes are running in their own threads they will continue to run, if they are not on their own thread they will get paused.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

685 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