Re: IdGlobalProtocols.IndySetLocalTime WM_TIMECHANGE

Giganews Newsgroups
Subject: Re: IdGlobalProtocols.IndySetLocalTime WM_TIMECHANGE
Posted by:  Remy Lebeau \(Indy Team\) (no.spam@no.spam.com)
Date: Fri, 1 Feb 2008

<us…@domain.invalid> wrote in message
news:E2C38936E946E340us…@domain.invalid...

> SendMessageTimeout(HWND_TOPMOST, WM_TIMECHANGE,0,0,SMTO_NORMAL, 1000 ,
> RValue);

WM_TIMECHANGE also needs to be broadcast under NT4 as well.  SetLocalTime()
broadcasts WM_TIMECHANGE automatically on Win2K and later.  MSND also says
to call SetLocalTime() twice in order to handle UTC correctly as well.

Gambit

Replies

None

In response to

IdGlobalProtocols.IndySetLocalTime WM_TIMECHANGE posted by us…@domain.invalid on Fri, 01 Feb 2008