If you find yourself with an IHTMLDOMNode2 object, then, yes, you could use ownerDocument. The BrowseModeLine object's DOMNode property, however, only returns IHTMLDOMNode (as far as I know).

Aaron

On 10/3/2012 10:36 AM, Doug Lee wrote:
Can't you use .ownerDocument to get the Document object directly?

On Wed, Oct 03, 2012 at 09:31:58AM -0400, Aaron Smith wrote:
    On 10/3/2012 8:39 AM, Sean Farrow wrote:

    Firstly, is thee a way to obtain the IHtmlDocument from the
    BrowseModeObject?

    You can get an IHTMLDOMNode object from a BrowseModeLine object. While
    you can't get a document object from a IHTMLDOMNode, you can walk up
    the node's parent tree until you find an IHTMLElement, and then get the
    document from it.

    Secondly, is thee a way using scriptin currently to simulate BrowseMode
    movement--ienextheading?

    Not inherently. It's possibly something that could be scripted, but it
    would take an excessive amount of work.
    Aaron
--
Aaron Smith
Web Development * App Development * Product Support Specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com

To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.


--
Aaron Smith
Web Development * App Development * Product Support Specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com

To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.

Reply via email to