Re: AxWebBrowser true document size problem
- From: "gregl" <gregl@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 16 May 2005 10:10:25 -0700
See the sample code that I provided in my first post. The example shows the
classes and interfaces that I am using. These classes and interfaces do not
expose the offsetHeight or offsetWidth. Unless it is exposed it is not
available to me, whether it is defined in the Object Model or not. Do you
have working sample code that shows access to these properties?
"Alex Blekhman" wrote:
> gregl wrote:
> > While offsetHeight and offsetWidth are available via
> > Javascript, there doesn't appear to be any way of
> > accessing those values via the DHTML Object Model, which
> > is what I am using, since the point where I require the
> > values is in my C# code not my Javascript. It appears
> > that some values have been omitted from the Object Model
> > and others are initialized incorrectly or not at all. Is
> > this a bug or am I missing something here?
>
> I'm not sure I'm following you. DHTML Object Model is a set
> of defined HTML objects with their properties, methods,
> events, etc. Everything you can access from JavaScript you
> also can access from host (be it C++ or other lang
> implementation). What client side JavaScript can access is
> subset of what host can access.
>
> I host WebBrowser in C++ application and I can access any
> element of HTML document and examine/change its properties.
>
> Here's reference of document object:
>
> "document"
> http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_document.asp
>
>
>
.
- Follow-Ups:
- Re: AxWebBrowser true document size problem
- From: Alex Blekhman
- Re: AxWebBrowser true document size problem
- References:
- AxWebBrowser true document size problem
- From: gregl
- Re: AxWebBrowser true document size problem
- From: Alex Blekhman
- Re: AxWebBrowser true document size problem
- From: gregl
- Re: AxWebBrowser true document size problem
- From: Alex Blekhman
- AxWebBrowser true document size problem
- Prev by Date: Re: AxWebBrowser true document size problem
- Next by Date: Re: AxWebBrowser true document size problem
- Previous by thread: Re: AxWebBrowser true document size problem
- Next by thread: Re: AxWebBrowser true document size problem
- Index(es):
Relevant Pages
|
|