🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #477

Re: Help with TCppWebBrowser - Find and click a button

#477
From: Hans Galema
Date: Mon, 08 Jan 2007 11:09
14 lines
1730 bytes
mike wrote:

> Well I am clearly not understanding why the button is not found. I am using 
> the following code and I thought the button would have been found as I am 
> taking into account the 2 frames, I think.

Yes. But the second frame contains a doc ( a html-page ) that contains
again a frameset. So you should make the code recursive.

Every TComInterface<IHTMLDocument2> Doc; you should investigate for
TComInterface<IHTMLFramesCollection2> Frames;. Then every frame from
that collection contains a Doc again.

Hans.
Technical Details
Message-ID: <45a226d9@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <459ebec4$1@newsgroups.borland.com> <459ec5bf$1@newsgroups.borland.com> <459fbc29$2@newsgroups.borland.com> <45a02189$1@newsgroups.borland.com> <45a02ab5$1@newsgroups.borland.com> <45a0c58e$1@newsgroups.borland.com> <45a0fe8a$1@newsgroups.borland.com> <45a10643$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,6ed59181280548e1
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 08 Jan 2007 12:09:41 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Re: Help with TCppWebBrowser - Find and click a button
References: <459ebec4$1@newsgroups.borland.com> <459ec5bf$1@newsgroups.borland.com> <459fbc29$2@newsgroups.borland.com> <45a02189$1@newsgroups.borland.com> <45a02ab5$1@newsgroups.borland.com> <45a0c58e$1@newsgroups.borland.com> <45a0fe8a$1@newsgroups.borland.com> <45a10643$1@newsgroups.borland.com>
In-Reply-To: <45a10643$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <45a226d9@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1168254681 145.98.201.248 (8 Jan 2007 03:11:21 -0800)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail