Adding a Timer in Win32::GUI

2002-10-08 Thread Hawley, Eric
Okay I have been attempting to add a timer to a message box and have been unsuccessful in being able to do so. I want to have it so that after the message box displays the user has 10 seconds to either click YES or NO with default as YES. If after 10 seconds the user has failed to make a

Re: Adding a Timer in Win32::GUI

2002-10-08 Thread Johan Lindstrom
At 14:53 2002-10-08 -0400, Hawley, Eric wrote: Okay I have been attempting to add a timer to a message box and have been unsuccessful in being able to do so. I want to have it so that after the message box displays the user has 10 seconds to either click YES or NO with default as YES. If after

RE: Adding a Timer in Win32::GUI

2002-10-08 Thread Peter Eisengrein
Title: RE: Adding a Timer in Win32::GUI Assuming $choice is your message box, perhaps something like this would work? ### untested sub No_Click { $choice-Hide(); $Window-Timer-Kill(); ### do something else return 1; } sub Timer { if ($choice-IsVisible) { $choice-Hide

RE: Adding a Timer in Win32::GUI

2002-10-08 Thread Krummel, James C - PGGC-6
MUST reboot Windows so that this task may finish.\nReboot Windows now?, 10, Error, $vbCritical + $vbYesNo); print $Return; James Krummel -Original Message- From: Hawley, Eric [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Adding a Timer in Win32::GUI Date: Tue, 8