Article View: borland.public.cppbuilder.nativeapi
Article #11841Re: Registry reset or refresh
From: Marc
Date: Mon, 12 Jan 2004 21:59
Date: Mon, 12 Jan 2004 21:59
31 lines
2062 bytes
2062 bytes
Hey
Here is the code the way I think you mean
SystemParametersInfo(SPI_SETACTIVEWINDOWTRACKING | SPI_SETACTIVEWNDTRKTIMEOUT, 0, NULL, SPIF_SENDCHANGE);
PostMessage(HWND_BROADCAST, WM_SETTINGCHANGE, NULL, NULL);
This doesn't seem to affect the system in anyway.
Thanks, I'll keep on searching
Marc
"Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> wrote:
>
>"Marc" <remove_bukwheat@axess.com> wrote in message
>news:400318a6$1@newsgroups.borland.com...
>
>> Here is the switch I am modifying
>> [HKEY_CURRENT_USER\Control Panel\Desktop]
>> "ActiveWndTrkTimeout"=dword:00000000
>
>Try using SystemParametersInfo() with the SPI_SETACTIVEWINDOWTRACKING and
>SPI_SETACTIVEWNDTRKTIMEOUT flags instead. You can specify
>SPIF_UPDATEINIFILE for the fWinIni parameter to persist the new values into
>the user's profile, and also specify SPIF_SENDCHANGE to have the function
>broadcast a WM_SETTINGCHANGE message to the rest of the system.
>
>
>Gambit
>
>
Technical Details
Message-ID:
<400326c1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3ffdcd22$1@newsgroups.borland.com> <3ffdd1ed@newsgroups.borland.com> <3fff2306$1@newsgroups.borland.com> <3fff251a$1@newsgroups.borland.com> <400318a6$1@newsgroups.borland.com> <40031afd$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,8a0ecda5c9359deb X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-12 15:10:03 PST From: "Marc" <remove_Bukwheat@axess.com> Sender: "Marc" <remove_Bukwheat@axess.com> Reply-To: "Marc" <remove_Bukwheat@axess.com> Subject: Re: Registry reset or refresh Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 138.11.254.204 X-Forwarded-For: unknown References: <3ffdcd22$1@newsgroups.borland.com> <3ffdd1ed@newsgroups.borland.com> <3fff2306$1@newsgroups.borland.com> <3fff251a$1@newsgroups.borland.com> <400318a6$1@newsgroups.borland.com> <40031afd$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <400326c1$1@newsgroups.borland.com> Date: 12 Jan 2004 14:59:13 -0700 X-Trace: newsgroups.borland.com 1073948353 207.105.83.66 (12 Jan 2004 14:59:13 -0700) Lines: 32 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail