Clock change notification at DST change


T

TechoMad

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?
 
Ad

Advertisements

M

MPaquette

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.
 
T

TechoMad

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?
 
P

PA Bear [MS MVP]

No.
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?
 
T

TechoMad

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.
 
T

TechoMad

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.
 
Ad

Advertisements

P

PA Bear [MS MVP]

I'm glad I forced you to do your own research.
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top