modifiy IHTMLTable via IHTMLCollection
-
After getting the IHTMLCollection, and doing get_all etc, and modifiying the element, the changes to the IHTMLTable don't appear on the CHtmlEditView. Any ideas?
IDispatch... GetHtmlDocument(); ...QueryInterface on IHTMLDocument2 pDoc->get_all(&pCollect); pCollect->item(varID,varIdx, &pDocDisp ); pDocDisp->QueryInterface(IID_IHTMLTable, (void**) &pElem); pElem->put_cols(cols);
Thanks Art -
After getting the IHTMLCollection, and doing get_all etc, and modifiying the element, the changes to the IHTMLTable don't appear on the CHtmlEditView. Any ideas?
IDispatch... GetHtmlDocument(); ...QueryInterface on IHTMLDocument2 pDoc->get_all(&pCollect); pCollect->item(varID,varIdx, &pDocDisp ); pDocDisp->QueryInterface(IID_IHTMLTable, (void**) &pElem); pElem->put_cols(cols);
Thanks Art