Click to See Complete Forum and Search --> : Frames


Adachi
May 20th, 1999, 05:26 AM
How can I get the IHTMLDocument2 interfaces of the child frames?

Adachi

brosenquist
June 15th, 1999, 04:51 PM
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