Tech Support > Microsoft Windows > Development Resources > overlapped MessageBox()
overlapped MessageBox()
Posted by Joerg Mueller-Tolk on April 29th, 2004


Hi all

How can I show a MessageBox without waiting for the user to press a button?
I think of something like an overlapped execution.

I don't care about any return values.
My main thread has to return immediately.
I already thought of creating a thread calling MessageBox().

Has anyone a better idea?
Is there another news group beeing more suitable to this question?

Many thanks in advance
Joerg M-T

Posted by Tim Robinson on April 29th, 2004


Joerg Mueller-Tolk wrote:
A couple of ideas:
-- Design your own dialog; call CreateDialog; stick a call to
IsDialogMessage in your message loop
-- Start a new thread for each call to MessageBox

--
Tim Robinson (MVP, Windows SDK)
http://mobius.sourceforge.net/



Posted by Joerg Mueller-Tolk on May 5th, 2004


"Tim Robinson" <tim.at.gaat.freeserve.co.uk@invalid.com> wrote in message news:<c6rg8h$fjfj0$1@ID-103400.news.uni-berlin.de>...
SplPromptUIInUsersSession() is doing the job


Similar Posts