Solved

Pop-up box that doesn't stop the application? i need a pop-up box that doesn't need a user to close it before the application continues to run. C#, VS2005

Posted on 2007-12-03
6
196 Views
Last Modified: 2013-12-16
I have an application that alerts clients to certain events via a pop up box and also via emails.  I need the pop up box to pop up but i need the single threaded application to continue working even though the pop up box has fired and the user hasn't closed it.  my boss said there was something called a 'mogel or mobil' way to make a message box so that this was possible.  But he didn't have any more information.  Does anyone else know?
0
Comment
Question by:alexmac05
  • 2
  • 2
  • 2
6 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20396649
you need a non-modal message box, but you will need to make the message box by yourself. Will look for an example.
0
 
LVL 21

Expert Comment

by:surajguptha
ID: 20396655
display a form with no borders and it will look just like a messagebox
0
 
LVL 8

Accepted Solution

by:
unmeshdave earned 500 total points
ID: 20403611
Its a modeless dialogbox. but in C# you can do it following way:

create a new form.
set the styles of the form as you wanted (normally just for popup box, you can set following properties)
MaximizeBox=false
MiniMizeBox=false
ShowInTaskBar=false

call form1.show(); //which will open a modeless form which is your requirement
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 21

Expert Comment

by:surajguptha
ID: 20403690
unmeshdave:>> Just curious, how different is what you suggested from what i posted?
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20403817
You can use a custom message box like this:
http://www.codeproject.com/KB/cs/CustomMessageBox.aspx

create a message box and call it with Show() instead of ShowDialog()
0
 
LVL 8

Expert Comment

by:unmeshdave
ID: 20403888
surajguptha--> please read the question properly, u will understand that the guy is a beginner and he may not understand only hint. what is simple for you may be difficult to understand for a beginner's level. and we all passed through such stages in our past. :-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Visual Studio editor? 1 38
Is setting this variable making a duplicate in memory 4 31
Two different visual studio versions 3 23
how to read json value 2 32
Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now