05-17-2006 10:34 AM
05-18-2006 09:13 AM
05-20-2006 05:57 AM
05-22-2006 09:29 AM
I am able to get the interface pointer for the Document object as follows:
IUnknown *pUnk = 0;
SHDocVw_GetProperty (ieHandle, 0, SHDocVw_IWebBrowser2Document, CAVT_UNKNOWN, &pUnk);
// Do something with the document interface
if (pUnk)
pUnk->lpVtbl->Release(pUnk);
I tried this at the end of the TellIEToNavigate function of samples/activex/ie/iedemo.c.