Click here to Skip to main content
15,121,549 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi how to create event that listen to system date. When system date is changed this event show message
thanks
Posted
Comments
Tom Wauters 27-Jun-13 1:10am
   
Is it when the system date changed manually?

1 solution

Hi mehdiattar,

If you are refering to manual changes of the system time. you can use

WM_TIMECHANGE message http://msdn.microsoft.com/en-us/library/windows/desktop/ms725498(v=vs.85).aspx

(hint: you can just override a Forms WndProc for this)
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900