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

Recommended Answers

All 4 Replies

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 ..

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!

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.