Article View: borland.public.cppbuilder.nativeapi
Article #469Re: Child window delay during activation
From: Bob Gonder
Date: Fri, 07 Mar 2008 19:38
Date: Fri, 07 Mar 2008 19:38
18 lines
1394 bytes
1394 bytes
Renald Yazmir wrote: >SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, NULL, >SPIF_SENDWININICHANGE | SPIF_UPDATEINIFILE); I don't know if that function will fix your problem, but you are using it wrong. Check the return value and GetLastError(). <Help> Set pvParam to the new timeout value </Help> You have pvParam == NULL. Try UINT Param = 0; SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, &Param, >SPIF_SENDWININICHANGE | SPIF_UPDATEINIFILE);
Technical Details
Message-ID:
<9s53t3heerl6i2gr20fsk0l7srhoe6oarf@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<47d14702@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,608889d1a86b7a1f X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Child window delay during activation Date: Fri, 07 Mar 2008 11:38:42 -0800 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <9s53t3heerl6i2gr20fsk0l7srhoe6oarf@4ax.com> References: <47d14702@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 69.69.81.82 X-Trace: newsgroups.borland.com 1204918720 69.69.81.82 (7 Mar 2008 11:38:40 -0700) Lines: 20 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail