Article View: borland.public.cppbuilder.nativeapi
Article #6170Re: Opening up Web Browsers inside my App
From: Gav
Date: Tue, 07 Jun 2005 15:31
Date: Tue, 07 Jun 2005 15:31
43 lines
2345 bytes
2345 bytes
Spoke to soon, Only works sometimes using this method, any other ideas ? Thanks Gav... "Gav" <brightoncomputers@brightontown.com.au> wrote in message news:42a5bb59$1@newsgroups.borland.com... > 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:
<42a5bdbf@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.ecngs.de!ecngs!feeder2.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!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> <42a5bb59$1@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> <42a5bb59$1@newsgroups.borland.com> Subject: Re: Opening up Web Browsers inside my App Date: Tue, 7 Jun 2005 23:31:11 +0800 Lines: 45 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: <42a5bdbf@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1118158271 203.121.204.130 (7 Jun 2005 08:31:11 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.ecngs.de!ecngs!feeder2.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail