How can I get the IHTMLDocument2 interfaces of the child frames?
Adachi
Printable View
How can I get the IHTMLDocument2 interfaces of the child frames?
Adachi
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