Ed wrote:
The way I would probably do this, without a gui, is to
read the file,
figure out what time to go off, convert it to seconds
and sleep until then.
But I can't do that because the main gui loop is
always running waiting
for an event, correct?
How would I do a periodic check on the alarm time, and
not interfere
with the main gui loop, can these be reconciled?

Take a look at the Win32::GUI::Timer control. It can be set to trigger an event every n milliseconds(?) in which you can do your stuff.


/J

-------- ------ ---- --- -- --  --  -    -     -      -         -
Johan Lindström    Sourcerer @ Boss Casinos     [EMAIL PROTECTED]

Latest bookmark: "CGI Help Guide"
http://www.perlmonks.org/index.pl?node=CGI%20Help%20Guide
dmoz (1 of 8): /Computers/Programming/Languages/Perl



Reply via email to