Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
End Users
Pocket PCActiveSyncMultimediaEBooksWirelessSmartPhones
Developers
Windows MobileSmartPhonesWinCE ProgrammingVB for WinCEVC++ for WinCEPlatform BuilderTest Tools
PocketPC DirectoryFree SoftwareWeb Resources
Related Topics
PalmMobile PhonesMore Topics ...

Pocket PC Forum / Developers / Windows Mobile / December 2008

Tip: Looking for answers? Try searching our database.

Detecting system date/time change

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RaNo - 20 Dec 2008 00:25 GMT
Hi,

How can my native C++ application get notified when the user (or an
automatic synchronization) changes the system date/time?

It's not receiving WM_SETTINGCHANGE nor WM_TIMECHANGE then... Should
it?
Chris Tacke, eMVP - 20 Dec 2008 04:09 GMT
CeRunAppAtEvent.  You can detect either time or TZ changes.

http://msdn.microsoft.com/en-us/library/aa932775.aspx

Signature

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com

> Hi,
>
[quoted text clipped - 3 lines]
> It's not receiving WM_SETTINGCHANGE nor WM_TIMECHANGE then... Should
> it?
RaNo - 20 Dec 2008 12:21 GMT
> CeRunAppAtEvent.  You can detect either time or TZ changes.
>
> http://msdn.microsoft.com/en-us/library/aa932775.aspx

Thanks!
And how do I later opt out from receiving the notification if I no
longer need to detect them? The docs say nothing about it...
Chris Tacke, eMVP - 20 Dec 2008 16:06 GMT
The docs *do* say something about it. See the same page - the flag
NOTIFICATION_EVENT_NONE

Signature

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com

> CeRunAppAtEvent. You can detect either time or TZ changes.
>
> http://msdn.microsoft.com/en-us/library/aa932775.aspx

Thanks!
And how do I later opt out from receiving the notification if I no
longer need to detect them? The docs say nothing about it...
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.