Article View: borland.public.cppbuilder.nativeapi
Article #470Re: Child window delay during activation
From: Renald Yazmir
Date: Fri, 07 Mar 2008 19:50
Date: Fri, 07 Mar 2008 19:50
26 lines
1691 bytes
1691 bytes
Thanks Unfortunately, this function did not fix the problem "Bob Gonder" <notbg@notmindspring.invalid> wrote in message news:9s53t3heerl6i2gr20fsk0l7srhoe6oarf@4ax.com... > 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:
<47d19c9c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.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> <9s53t3heerl6i2gr20fsk0l7srhoe6oarf@4ax.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 Reply-To: "Renald Yazmir" <renald@partmaker.com> From: "Renald Yazmir" <renald@partmaker.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <47d14702@newsgroups.borland.com> <9s53t3heerl6i2gr20fsk0l7srhoe6oarf@4ax.com> Subject: Re: Child window delay during activation Date: Fri, 7 Mar 2008 14:50:52 -0500 Lines: 28 Organization: IMCS Inc X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 NNTP-Posting-Host: 66.106.28.123 Message-ID: <47d19c9c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1204919452 66.106.28.123 (7 Mar 2008 11:50:52 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail