Article View: borland.public.cppbuilder.internet.web
Article #1111Re: How to Refresh only one frame on TCppWebBrowser???
From: Remy Lebeau (TeamB)
Date: Mon, 09 May 2005 16:48
Date: Mon, 09 May 2005 16:48
22 lines
1756 bytes
1756 bytes
"Byanex" <chikui@bol.com.br> wrote in message
news:427f4faf$1@newsgroups.borland.com...
> I'm using TCppWebBrowser and when i load one page with
> frames, i would to REFRESH just one frame, not all page.
You need to access the browser's DOM interfaces in order to do that.
TCppWebBrowser has a ControlInterface property that is an IWebBrowser2
interface. From there, you can obtain the top-level IHTMLWindow2 interface,
and from there you then can obtain the individual IHTMLWindow2 interfaces
for each frame, and from there you can then navigate whichever window you
want.
Look at the following URL for more details:
Interfaces and Scripting Objects
http://msdn.microsoft.com/workshop/browser/mshtml/reference/ifaces/interface.asp
Gambit
Technical Details
Message-ID:
<427f944b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.usenet.com!news.moat.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<427f4faf$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,3ef25ef9378e3400 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web References: <427f4faf$1@newsgroups.borland.com> Subject: Re: How to Refresh only one frame on TCppWebBrowser??? Date: Mon, 9 May 2005 09:48:53 -0700 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <427f944b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1115657291 68.69.17.41 (9 May 2005 09:48:11 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.usenet.com!news.moat.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail