I just used the GUI Builder to create a simple script that displayed an
image. I sucked the code for the image and threw it into my "real" code that
use DoEvents and is part of a while loop that does a bunch of other little
things. To my disappoint, the image didn't display.
I finally tracked it down to the Win32::GUI::Dialog() call. If I add that,
then the image displays fine but my script stops dead waiting for the
Dialog() that never returns. If I remove the Dialog() call, then my script
happily works as intended, only with no image display.
Is there a way around this?
Some internal Paint call that I can use that will display the image?
Or someway where I can call Dialog(), but immediately return so that the
script can continue?