PC Review


Reply
Thread Tools Rate Thread

Clock change notification at DST change

 
 
TechoMad
Guest
Posts: n/a
 
      19th Nov 2008
Simple really, does Windows send a WM_TIMECHANGE message to all programs when
the daylight saving time shift occurs? I suspect not, but what if I want my
application to "know" that DST has become/stopped being operative?
 
Reply With Quote
 
 
 
 
MPaquette
Guest
Posts: n/a
 
      19th Nov 2008
Some applications rely on the local computer clock some do not. You would
have to research each application to find out how they get their time.

"TechoMad" wrote:

> Simple really, does Windows send a WM_TIMECHANGE message to all programs when
> the daylight saving time shift occurs? I suspect not, but what if I want my
> application to "know" that DST has become/stopped being operative?

 
Reply With Quote
 
TechoMad
Guest
Posts: n/a
 
      19th Nov 2008
The application does use the clock, that is why I asked - if it didn't, it
wouldn't matter. The question still stands, when a daylight saving point is
reached, does the Windows OS inform the applications through a WM_TIMECHANGE
message, so they are aware of the event?

"MPaquette" wrote:

> Some applications rely on the local computer clock some do not. You would
> have to research each application to find out how they get their time.
>
> "TechoMad" wrote:
>
> > Simple really, does Windows send a WM_TIMECHANGE message to all programs when
> > the daylight saving time shift occurs? I suspect not, but what if I want my
> > application to "know" that DST has become/stopped being operative?

 
Reply With Quote
 
PA Bear [MS MVP]
Guest
Posts: n/a
 
      19th Nov 2008
No.

TechoMad wrote:
> The application does use the clock, that is why I asked - if it didn't, it
> wouldn't matter. The question still stands, when a daylight saving point
> is
> reached, does the Windows OS inform the applications through a
> WM_TIMECHANGE
> message, so they are aware of the event?
>
> "MPaquette" wrote:
>
>> Some applications rely on the local computer clock some do not. You
>> would
>> have to research each application to find out how they get their time.
>>
>> "TechoMad" wrote:
>>
>>> Simple really, does Windows send a WM_TIMECHANGE message to all programs
>>> when the daylight saving time shift occurs? I suspect not, but what if I
>>> want my application to "know" that DST has become/stopped being
>>> operative?


 
Reply With Quote
 
TechoMad
Guest
Posts: n/a
 
      20th Nov 2008
Disappointing if confirmed; I've now run a test and it looks like it does on
SP3, I need to repeat the run on SP2.

"PA Bear [MS MVP]" wrote:

> No.
>
> TechoMad wrote:
> > The application does use the clock, that is why I asked - if it didn't, it
> > wouldn't matter. The question still stands, when a daylight saving point
> > is
> > reached, does the Windows OS inform the applications through a
> > WM_TIMECHANGE
> > message, so they are aware of the event?
> >
> > "MPaquette" wrote:
> >
> >> Some applications rely on the local computer clock some do not. You
> >> would
> >> have to research each application to find out how they get their time.
> >>
> >> "TechoMad" wrote:
> >>
> >>> Simple really, does Windows send a WM_TIMECHANGE message to all programs
> >>> when the daylight saving time shift occurs? I suspect not, but what if I
> >>> want my application to "know" that DST has become/stopped being
> >>> operative?

>
>

 
Reply With Quote
 
TechoMad
Guest
Posts: n/a
 
      20th Nov 2008
Tests on SP2 and SP3 show that a WM_TIMECHANGE event does arrive when the
daylight saving change events occur, so that's all right then - I can make my
program do what I need.

"PA Bear [MS MVP]" wrote:

> No.
>
> TechoMad wrote:
> > The application does use the clock, that is why I asked - if it didn't, it
> > wouldn't matter. The question still stands, when a daylight saving point
> > is
> > reached, does the Windows OS inform the applications through a
> > WM_TIMECHANGE
> > message, so they are aware of the event?
> >
> > "MPaquette" wrote:
> >
> >> Some applications rely on the local computer clock some do not. You
> >> would
> >> have to research each application to find out how they get their time.
> >>
> >> "TechoMad" wrote:
> >>
> >>> Simple really, does Windows send a WM_TIMECHANGE message to all programs
> >>> when the daylight saving time shift occurs? I suspect not, but what if I
> >>> want my application to "know" that DST has become/stopped being
> >>> operative?

>
>

 
Reply With Quote
 
PA Bear [MS MVP]
Guest
Posts: n/a
 
      20th Nov 2008
I'm glad I forced you to do your own research.

TechoMad wrote:
> Tests on SP2 and SP3 show that a WM_TIMECHANGE event does arrive when the
> daylight saving change events occur, so that's all right then - I can make
> my program do what I need.
>
> "PA Bear [MS MVP]" wrote:
>
>> No.
>>
>> TechoMad wrote:
>>> The application does use the clock, that is why I asked - if it didn't,
>>> it
>>> wouldn't matter. The question still stands, when a daylight saving point
>>> is
>>> reached, does the Windows OS inform the applications through a
>>> WM_TIMECHANGE
>>> message, so they are aware of the event?
>>>
>>> "MPaquette" wrote:
>>>
>>>> Some applications rely on the local computer clock some do not. You
>>>> would
>>>> have to research each application to find out how they get their time.
>>>>
>>>> "TechoMad" wrote:
>>>>
>>>>> Simple really, does Windows send a WM_TIMECHANGE message to all
>>>>> programs
>>>>> when the daylight saving time shift occurs? I suspect not, but what if
>>>>> I
>>>>> want my application to "know" that DST has become/stopped being
>>>>> operative?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change clock to 24 hour clock BH2 Windows XP General 5 3rd Jul 2007 06:31 AM
Change EXCEL Clock to Standard Clock or Military Time =?Utf-8?B?WW9NYXJpZQ==?= Microsoft Excel Worksheet Functions 4 29th Apr 2007 08:39 PM
Clock change =?Utf-8?B?Y29uZnVzZWQ=?= Microsoft Word Document Management 5 25th Mar 2007 12:07 AM
MonthCalendar change interval or get Notification from Clock mtczx232@yahoo.com Microsoft Dot NET Framework 1 6th Nov 2006 11:17 AM
Local IP Address change / Notification of configuration change Anatoly Windows Networking 0 15th Mar 2004 08:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:04 PM.