I need to embed a browser control into an MFC window or a dialog and have it display an HTML page. So I create a CDHtmlDialog - derived class, and use the CDHtmlDialog::Navigate() method to display the page. I am using visual Studio 2013.
Everything works fine, except 2D transforms don't work, and I need those to rotate some images. When I check for the IE version online (from inside the embedded control, using http://www.thismachine.info/, for example) - I get:
Internet Explorer 7.0 on Windows 8 Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; Tablet PC 2.0; InfoPath.3)
Whereas if I go the the same address from the default browser installed on my Windows 8 machine, I get:
Internet Explorer 10.0 on Windows 8, Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)
I don't even have the IE 7 installed. What am I missing? Can I make the CDHtmlDialog use a later version of the browser? If not, what is the preferred way of rendering HTML 5 content in a C++ (Windows) window?
Thanks!