CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Frames

  1. #1
    Join Date
    May 1999
    Posts
    26

    Frames

    How can I get the IHTMLDocument2 interfaces of the child frames?

    Adachi


  2. #2
    Join Date
    Jun 1999
    Posts
    2

    Re: Frames

    Try iterating of the frame collection and doing this:

    // Get a frame from the collection.
    //
    _variant_t index;
    index.vt = VT_UINT;
    index.lVal = count;
    MSHTML::IHTMLWindow2Ptr tempWindow( frameCollection->item( &index ) );
    if ( tempWindow == NULL )
    {
    continue;
    }

    // Get the

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured