D
Daniel Anderson
I seem to have a problem under win2k. Applications relying
on the WM_TIMECHANGE message to do recalculations when the
local time changes will fail. If the clock is changed
either manually or through synchronization via our LAN, the
message is received loud and clear. But at 2AM on a day
going into or out of daylight savings time, there is no
message sent by the os. My bios does not have the ability
to adjust for daylight savings time, so there is no
interference there. Under XP, applications receive this
message as expected. Anyone else find this? My
understanding is that Pre-NT5 os requires all apps to send
this message to all top level windows when they changed the
system time, and NT5+ handles WM_TIMECHANGE on its own with
no application to send. It seems as though the W2K codeset
responsible for the DST changeover does not comply with the
design.
Platform: Windows 2000 SP3, SP4
Timezone: GMT -3:00 Greenland
Times: (Scenario 1) April 4, 2004, 1:59 AM
(Scenario 2) October 31, 2004, 1:59 AM
Application: A simple C++ MFC SDI application, handling
WM_TIMECHANGE. Also tested with C application running as a
service but registered as a windows class, handling
WM_TIMECHANGE.
In Scenario 1, the time and date is set to the specified.
At 2:00AM, the clock display jumps to 3:00AM, as expected.
No WM_TIMECHANGE message is recieved by the application
under W2K, however it does with XP.
In Scenario 2, the time and date is set to the specified.
At 2:00AM the clock display jumps back to 1:00AM, as
expected. No WM_TIMECHANGE message is recieved by the
application under W2K, however it does with XP.
Cheers,
Dan
on the WM_TIMECHANGE message to do recalculations when the
local time changes will fail. If the clock is changed
either manually or through synchronization via our LAN, the
message is received loud and clear. But at 2AM on a day
going into or out of daylight savings time, there is no
message sent by the os. My bios does not have the ability
to adjust for daylight savings time, so there is no
interference there. Under XP, applications receive this
message as expected. Anyone else find this? My
understanding is that Pre-NT5 os requires all apps to send
this message to all top level windows when they changed the
system time, and NT5+ handles WM_TIMECHANGE on its own with
no application to send. It seems as though the W2K codeset
responsible for the DST changeover does not comply with the
design.
Platform: Windows 2000 SP3, SP4
Timezone: GMT -3:00 Greenland
Times: (Scenario 1) April 4, 2004, 1:59 AM
(Scenario 2) October 31, 2004, 1:59 AM
Application: A simple C++ MFC SDI application, handling
WM_TIMECHANGE. Also tested with C application running as a
service but registered as a windows class, handling
WM_TIMECHANGE.
In Scenario 1, the time and date is set to the specified.
At 2:00AM, the clock display jumps to 3:00AM, as expected.
No WM_TIMECHANGE message is recieved by the application
under W2K, however it does with XP.
In Scenario 2, the time and date is set to the specified.
At 2:00AM the clock display jumps back to 1:00AM, as
expected. No WM_TIMECHANGE message is recieved by the
application under W2K, however it does with XP.
Cheers,
Dan