0

Hi,
now program show Messagebox and wait user decision.
How make, that program don't wait?
Show Messagebox, ant keep going.

4
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by Fungus1487
-1

Maybe there is another way of showing the information for the new window?
I need to display text only, no action from the user does not ..

0

A MessageBox is what we call a modal dialog(window).
It means you have to respond to it somehow before you can continue.
A print dialog is another example of this. You wanted to print something, so this dialog shows up. Now you can set several settings of a printer and click the OK button to print. If you somehow decided not to print, click the Cancel button. Only after this you can continue with your program.
Another type of dialog(window) is called modeless. It can stay on screen while doing other things. A typical example is the Quick Find dialog in Visual Studio. Suggest you do some search on both in Google or MSDN.
If you can't get a hang of it, just return here with your questiions. Succes!

0

tonymuilenburg has it right, spawn another thread to do the work then show the dialog to continue with whatever logic you require.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.