My application displays today's date on the form like;
Friday August 4, 2006
This information is determined at the form's constructor. But what
about the user has kept the form shown so long that the next day comes
( in this case, Saturday August 5, 2006)? One simple way is to check
the today's date periodically and if the date has been changed, then
update the date on the form. But this seems to be a waste. If the
interval is short, then the program will waste too much CPU, and if the
interval is long, then the date won't be updated immediately.
So, is there any event like "SystemDateChanged"? I tried to find it but
failed. Or do I have to use Win32 API to get notified?
Thanks.