DrawToDC fails on IE9 web browser control
I have been using the following code to get a metafile vector image for the content of IWebBrowser2 control as following: IHTMLElement* pDocBody; IHTMLDocument2* pDoc; ... ... pDoc->get_body(&pDocBody); // get body element for IHTMLDocument2 pDocBody->get_parentElement(&pEleParent); pEleParent->QueryInterface(IID_IHTMLElement2,(v...