Any idea how have a event that fires when the system Timer ticks to a new date or hour ???
or should I check every now and then ?
Printable View
Any idea how have a event that fires when the system Timer ticks to a new date or hour ???
or should I check every now and then ?
You could either use a Timer or the SetTimer API function to check when the date switches or a new hour comes.
I dont see how this would help ... it works like a regular timer.Quote:
SetTimer creates a timer that triggers an event after so many milliseconds have elapsed. The timer continues triggering events between intervals until it is removed using KillTimer. The timer can be configured to either send a WM_TIMER message to the owning window or call a callback function whenever the time-out period elapsed.
is there is some functionality i am not aware of , please let me know.