Article View: borland.public.cppbuilder.nativeapi
Article #6169Re: Opening up Web Browsers inside my App
From: Gav
Date: Tue, 07 Jun 2005 15:20
Date: Tue, 07 Jun 2005 15:20
28 lines
1984 bytes
1984 bytes
Ok, Looks like I got it :) So I needed to experiment and change the values of the WaitForInputIdle integer and also combine that with the smallest Sleep(n) I worked out so that if( info.hWnd != NULL ) became true, for an IE window that was Sleep(150). Is there a concrete formulae I should have used or does everyone experiment with timing in this case? Thanks Guys, Gav...(Phew!) "Gav" <brightoncomputers@brightontown.com.au> wrote in message news:42a5a49d@newsgroups.borland.com... >I am guessing here I need to add a WaitForInputIdle(CreateProcess , 1000); > > or similar, I am experimenting the best place to put it, I got it to work > once but > changed it and it hasn't worked since . > > I'll get there I'm sure :) > > Gav... >
Technical Details
Message-ID:
<42a5bb59$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<422926aa$1@newsgroups.borland.com> <422c31bd$1@newsgroups.borland.com> <422c515c@newsgroups.borland.com> <422c5d8e$1@newsgroups.borland.com> <42a2f6aa$1@newsgroups.borland.com> <42a3910a$1@newsgroups.borland.com> <42a44aa2$1@newsgroups.borland.com> <42a4855c$1@newsgroups.borland.com> <42a588ed@newsgroups.borland.com> <42a5a49d@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,91b603800ded4d32 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Gav" <brightoncomputers@brightontown.com.au> Newsgroups: borland.public.cppbuilder.nativeapi References: <422926aa$1@newsgroups.borland.com> <422c31bd$1@newsgroups.borland.com> <422c515c@newsgroups.borland.com> <422c5d8e$1@newsgroups.borland.com> <42a2f6aa$1@newsgroups.borland.com> <42a3910a$1@newsgroups.borland.com> <42a44aa2$1@newsgroups.borland.com> <42a4855c$1@newsgroups.borland.com> <42a588ed@newsgroups.borland.com> <42a5a49d@newsgroups.borland.com> Subject: Re: Opening up Web Browsers inside my App Date: Tue, 7 Jun 2005 23:20:58 +0800 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 203.121.204.130 Message-ID: <42a5bb59$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1118157657 203.121.204.130 (7 Jun 2005 08:20:57 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail