HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-19-2008, 02:49 PM
TechoMad
Guest
 
Posts: n/a
Default Clock change notification at DST change

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
Sponsored Links
  #2  
Old 11-19-2008, 08:26 PM
MPaquette
Guest
 
Posts: n/a
Default RE: Clock change notification at DST change

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
  #3  
Old 11-19-2008, 08:41 PM
TechoMad
Guest
 
Posts: n/a
Default RE: Clock change notification at DST change

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
  #4  
Old 11-19-2008, 08:54 PM
PA Bear [MS MVP]
Guest
 
Posts: n/a
Default Re: Clock change notification at DST change

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
  #5  
Old 11-20-2008, 07:25 AM
TechoMad
Guest
 
Posts: n/a
Default Re: Clock change notification at DST change

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
  #6  
Old 11-20-2008, 03:07 PM
TechoMad
Guest
 
Posts: n/a
Default Re: Clock change notification at DST change

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
  #7  
Old 11-20-2008, 04:38 PM
PA Bear [MS MVP]
Guest
 
Posts: n/a
Default Re: Clock change notification at DST change

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
Sponsored Links
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't change back to 12 hr> clock vince Windows XP 7 08-13-2008 03:40 AM
How to change download notification settings Sarooga Windows Vista 2 04-19-2008 06:48 AM
Incorrect Clock Change ohsix Windows XP Basics 12 11-27-2007 03:26 PM
How to change the clock format? Eric Windows XP 1 11-06-2007 02:44 AM
Change clock to 24 hour clock BH2 Windows XP 5 07-03-2007 05:31 AM


All times are GMT. The time now is 10:38 AM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts their respective authors.
Ad Management by RedTyger