Philip A. Larson wrote:
>Hello All,
>
>How bout this one:
>
>Is there a Timer event of some sort that I can place in my windows? So
>it will periodically come out of its deep sleep when no one is pressing
>anything?
yes, there is; the class is called Win32::GUI::Timer, it is also
documented in Win32_GUI_Timer.html.
basically, go like this:
$Timer1 = $Window->AddTimer("Timer1", 500);
# triggered each 500 milliseconds
sub Timer1_Timer {
print "I'm awake!\n";
}
you can then use:
$Timer1->Kill(); # disables the timer
and
$Timer1->Interval(750);
# change the interval and/or reenables the timer
bye,
Aldo Calpini
<[EMAIL PROTECTED]>