Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Detecting system date/time change

 
   PDA (Home) -> Pocket PC - Developer RSS
Next:  Resource Editor  
Author Message
RaNo

External


Since: Nov 21, 2008
Posts: 11



(Msg. 1) Posted: Fri Dec 19, 2008 4:25 pm
Post subject: Detecting system date/time change
Archived from groups: microsoft>public>pocketpc>developer (more info?)

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?
Back to top
Login to vote
Chris Tacke, eMVP

External


Since: Mar 19, 2008
Posts: 49



(Msg. 2) Posted: Fri Dec 19, 2008 10:09 pm
Post subject: Re: Detecting system date/time change [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

CeRunAppAtEvent. You can detect either time or TZ changes.

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


--

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

"RaNo" <google RemoveThis @ranosoft.net> wrote in message
news:43381d92-59a8-4cab-962f-2c26d4acd98f@s9g2000prm.googlegroups.com...
> 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?
Back to top
Login to vote
RaNo

External


Since: Nov 21, 2008
Posts: 11



(Msg. 3) Posted: Sat Dec 20, 2008 4:21 am
Post subject: Re: Detecting system date/time change [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> 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...
Back to top
Login to vote
Chris Tacke, eMVP

External


Since: Mar 19, 2008
Posts: 49



(Msg. 4) Posted: Sat Dec 20, 2008 10:06 am
Post subject: Re: Detecting system date/time change [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The docs *do* say something about it. See the same page - the flag
NOTIFICATION_EVENT_NONE


--

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

"RaNo" <google.DeleteThis@ranosoft.net> wrote in message
news:4a2ee785-2660-4e15-80fe-21dab07270d3@b41g2000pra.googlegroups.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...
Back to top
Login to vote
Display posts from previous:   
Related Topics:
System time(minute) change event doesn't raise per minute. - I wrote the following code to write the current datetime into a txt file per minute in .Net CF2.0 version: SystemState s = new SystemState(SystemProperty.Time); s.Changed += new ChangeEventHandler(s_Changed); void s_Changed(object sender,..

Detecting graphic system initialization - Hello, I have to write a MFC service which when starts display a dialog. The problem is that if I call my dlg.DoModal() as soon as my thread start running the dialog will never display. If I add an Sleep(20000) before calling DoModal() that, everything....

File Date & Time Getting Altered After Copy? - I've just noticed that whenever I copy a file from a Pocket PC to my desktop that the date & time of the original file gets altered to the current time. This happens whether I copy it manually using ActiveSync's Explorer or whether I copy it via ...

Disable or Lock Date Time on WM5 or WM6 Pocket PC - I need the ability to prevent a user from changing the date time on a Pocket PC handheld. This is for a regulated application, where date time validity is critical. Can the Icon in the Settings be disabled or can the actual date time be locked? Ca...

Detecting DesignTime in VS2005 - Hi All, I am porting an application that I oringally wrote in VS2003. For my trial version software, I want to display a dialog informing the user that its trial software when it is running on a device. I do not want this dialog to be displayed whe...
       PDA (Home) -> Pocket PC - Developer All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
 Linux Forums
 Mac Forums
  PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact