| Good day.
Sure - it's a friday! Thank you.

| To my disappoint, the image didn't display.
That is more than strange. Say, you should make sure you have the latest
Win32-GUI version. When you do "ppm query" from a DOS prompt, it should say
0.0.558 and NOT 0.99, which has been around for a while.

| Or someway where I can call Dialog(), but immediately return 
| so that the script can continue?
Yes. Upon the initial $Main->Show(), you get two Main_Resize events pending.
Return -1 from the second one and your Dialog() call returns. You can still
DoEvent() and Dialog() around after that; ie no controls are being destroyed
at that point.

$resizecount = 0;
sub Main_Resize {
    return -1 if ++$resizecount == 2;
    # other stuff here
    return 1;  # don't forget that
}

Have fun,
Harald

Reply via email to