|
|
|
date: Mon, 23 Jun 2008 06:21:04 -0700 (PDT),
group: microsoft.public.win32.programmer.ole
back
Re: How to get the HTML element in a FRAM/IFRAM through
IHTMLDocument2::elementFromPoint()
Hi,
In the link you give me, you said "
elementFromPoint
returns a frame element if the point falls inside a frame or iframe.
You
can find out whether this is the case by querying the element for
IWebBrowser2."
But in my case, I got a "HTML" element from the "elementFromPoint"
call. And I tried to query its IWebBrowser2 interface, but failed.
Could you help?
On Jun 23, 11:20 pm, "Igor Tandetnik" wrote:
> davidshe...@googlemail.com wrote:
> > I have used IHTMLDocument2::elementFromPoint() to get an element which
> > tag name is "HTML" from the IE.
>
> > How can I get the DOM within the "HTML" element I get?
>
> http://groups.google.com/group/microsoft.public.inetsdk.programming.m...
> --
> With best wishes,
> Igor Tandetnik
>
> With sufficient thrust, pigs fly just fine. However, this is not
> necessarily a good idea. It is hard to be sure where they are going to
> land, and it could be dangerous sitting under them as they fly
> overhead. -- RFC 1925
date: Mon, 23 Jun 2008 18:23:43 -0700 (PDT)
author: unknown
Re: How to get the HTML element in a FRAM/IFRAM through
IHTMLDocument2::elementFromPoint()
The site I originally played with is an internal site which cannot be
accessed out side. But I also tried iGoogle, and result is the same.
Thanks a lot for your help!
On Jun 24, 9:49 am, "Igor Tandetnik" wrote:
> wrote in message
>
> news:d9ccbfee-e652-4c67-a2d9-a3f6c84a8d97@a1g2000hsb.googlegroups.com
>
> > In the link you give me, you said "
> > elementFromPoint
> > returns a frame element if the point falls inside a frame or iframe.
> > You
> > can find out whether this is the case by querying the element for
> > IWebBrowser2."
>
> > But in my case, I got a "HTML" element from the "elementFromPoint"
> > call. And I tried to query its IWebBrowser2 interface, but failed.
> > Could you help?
>
> Do you have a URL I can navigate to and test on?
> --
> With best wishes,
> Igor Tandetnik
>
> With sufficient thrust, pigs fly just fine. However, this is not
> necessarily a good idea. It is hard to be sure where they are going to
> land, and it could be dangerous sitting under them as they fly
> overhead. -- RFC 1925
date: Mon, 23 Jun 2008 23:08:09 -0700 (PDT)
author: unknown
Re: How to get the HTML element in a FRAM/IFRAM through
IHTMLDocument2::elementFromPoint()
Sorry, I forgot to mention that I am working on IE 7. I do not have IE
6 right now, I will test on it later if possible and let you know the
result.
On Jun 24, 2:08 pm, "davidshe...@googlemail.com"
wrote:
> The site I originally played with is an internal site which cannot be
> accessed out side. But I also tried iGoogle, and result is the same.
>
> Thanks a lot for your help!
>
> On Jun 24, 9:49 am, "Igor Tandetnik" wrote:
>
> > wrote in message
>
> >news:d9ccbfee-e652-4c67-a2d9-a3f6c84a8d97@a1g2000hsb.googlegroups.com
>
> > > In the link you give me, you said "
> > > elementFromPoint
> > > returns a frame element if the point falls inside a frame or iframe.
> > > You
> > > can find out whether this is the case by querying the element for
> > > IWebBrowser2."
>
> > > But in my case, I got a "HTML" element from the "elementFromPoint"
> > > call. And I tried to query its IWebBrowser2 interface, but failed.
> > > Could you help?
>
> > Do you have a URL I can navigate to and test on?
> > --
> > With best wishes,
> > Igor Tandetnik
>
> > With sufficient thrust, pigs fly just fine. However, this is not
> > necessarily a good idea. It is hard to be sure where they are going to
> > land, and it could be dangerous sitting under them as they fly
> > overhead. -- RFC 1925
date: Mon, 23 Jun 2008 23:53:36 -0700 (PDT)
author: unknown
Re: How to get the HTML element in a FRAM/IFRAM through
IHTMLDocument2::elementFromPoint()
Oh~~~ I am so sorry about this...It's all about BUG...I made a typo
error in my code... :)
On Jun 24, 2:53 pm, "davidshe...@googlemail.com"
wrote:
> Sorry, I forgot to mention that I am working on IE 7. I do not have IE
> 6 right now, I will test on it later if possible and let you know the
> result.
>
> On Jun 24, 2:08 pm, "davidshe...@googlemail.com"
>
> wrote:
> > The site I originally played with is an internal site which cannot be
> > accessed out side. But I also tried iGoogle, and result is the same.
>
> > Thanks a lot for your help!
>
> > On Jun 24, 9:49 am, "Igor Tandetnik" wrote:
>
> > > wrote in message
>
> > >news:d9ccbfee-e652-4c67-a2d9-a3f6c84a8d97@a1g2000hsb.googlegroups.com
>
> > > > In the link you give me, you said "
> > > > elementFromPoint
> > > > returns a frame element if the point falls inside a frame or iframe> > > > You
> > > > can find out whether this is the case by querying the element for
> > > > IWebBrowser2."
>
> > > > But in my case, I got a "HTML" element from the "elementFromPoint"
> > > > call. And I tried to query its IWebBrowser2 interface, but failed.
> > > > Could you help?
>
> > > Do you have a URL I can navigate to and test on?
> > > --
> > > With best wishes,
> > > Igor Tandetnik
>
> > > With sufficient thrust, pigs fly just fine. However, this is not
> > > necessarily a good idea. It is hard to be sure where they are going to
> > > land, and it could be dangerous sitting under them as they fly
> > > overhead. -- RFC 1925
date: Tue, 24 Jun 2008 00:10:08 -0700 (PDT)
author: unknown
|
|