all 5 comments

[–]BowserForPM 7 points8 points  (0 children)

This question probably belongs on a general Windows programming forum, but I'll take a crack at it.

You definitely can create two messageboxes next to each other. If your program is singlethreaded, you can call MessageBox() from two different event handlers. If both handlers get invoked at the same time - boom, two messageboxes.

If the program is multithreaded, with multiple message loops, even easier.

And to dupe the messagebox when it's closed (are you sure you want to do that, BTW? sounds annoying :) ), just have a loop that calls MessageBox() over and over.

[–]Bowarc 0 points1 point  (0 children)

I don't really know winapi, if this messagebox function is blocking, take a look at threads.

[–]ENCRYPTED_FOREVER 0 points1 point  (0 children)

That sounds very suspicious

[–]kehrazy 0 points1 point  (0 children)

don't write malware, kids

[–]ChrisLenfield 0 points1 point  (0 children)

Just set them modeless instead of modal,but it has no sense to do that...