Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: alarms and timers on Win32

by MZSanford (Curate)
on Oct 23, 2002 at 12:52 UTC ( #207372=note: print w/replies, xml ) Need Help??


in reply to alarms and timers on Win32

You could use Tk::After (doc) and give it a callback and time ... i am not sure if that will work on Win32, but i believe so. If you want to get really tricky, you could also use Win32::OLE or Win32::API to access the VB timer object, or other Win32 naitive function, directly. Lastly (and, i am sure this is not the last, but the last i have right now), you could fork a process to keep track of the time, and use IPC to update the label ... seems a bit complex for what you want though. Also, a pretty good clock inplimentation is here(analog), or maybe Tk::Clock ?
from the frivolous to the serious

Replies are listed 'Best First'.
Re: Re: alarms and timers on Win32
by rinceWind (Monsignor) on Oct 23, 2002 at 13:00 UTC
    Fine! Tk::After was what I was looking for. Thanks.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://207372]
help
Chatterbox?
[choroba]: My week was hectic as well, and so will be the next several ones...
[Corion]: Sane Dots Supplies - your brand manufacturer for satisfying experiences!
[choroba]: preparing the trip to Vietnam + buying a new car = enough fun
[Corion]: choroba: Yeah, that's a lot of "fun" for one week...
[Corion]: I guess I should stage some product photos for Sane Dots Supplies ;)
[marto]: I had some ideas about that Corion
[marto]: I'll send a message over the weekend maybe :P
[Corion]: choroba: I avoided the "fun" of emergency shopping for a new flat iron by trying the flat iron without the timer that sat between it and the mains power. Seems as if just the timer is broken.
[Corion]: marto: Heh, would be cool!

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2017-01-20 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (174 votes). Check out past polls.