winapi - timed MessageBox in console application -


i use messagebox function in win32 console application.
application not not use mfc, not event loop.
need make wrapper, messageboxtimed(), exits
(and dialog box disappears) after n seconds, if user did not press button.

is there more or less simple way ?

see this article in msdn example of 1 implementation. use in of our projects , works fine.


Comments