CDHtmlDialog : Not supporting "Canvas" tag in HTML
-
Hey there, I have a MFC app that uses CDHtmlDialog class. It supports most of the HTML tags, but not the CANVAS tag. If am right, IE 9+ only have support for Canvas tag. Which version of IE is used in CDHtmlDialog class? Is there a way of using Canvas tag in CDHtmlDialog class? If not the CDHtmlDialog class, is there any other web browser control in MFC that supports Canvas tag? The reason why i am using CDHtmlDialog class, is to create a rich GUI using HTML/CSS/JavaScript that will be updated dynamically from the back end C++ code. Thanks in advance.
-
Hey there, I have a MFC app that uses CDHtmlDialog class. It supports most of the HTML tags, but not the CANVAS tag. If am right, IE 9+ only have support for Canvas tag. Which version of IE is used in CDHtmlDialog class? Is there a way of using Canvas tag in CDHtmlDialog class? If not the CDHtmlDialog class, is there any other web browser control in MFC that supports Canvas tag? The reason why i am using CDHtmlDialog class, is to create a rich GUI using HTML/CSS/JavaScript that will be updated dynamically from the back end C++ code. Thanks in advance.
The version of IE that is used by CDHtmlDialog is dependent on the OS you use. You can use webkit whick is better than IE. I prefer you to use cef whick is based on Chrome. And Chrome is based on webkit.
-
Hey there, I have a MFC app that uses CDHtmlDialog class. It supports most of the HTML tags, but not the CANVAS tag. If am right, IE 9+ only have support for Canvas tag. Which version of IE is used in CDHtmlDialog class? Is there a way of using Canvas tag in CDHtmlDialog class? If not the CDHtmlDialog class, is there any other web browser control in MFC that supports Canvas tag? The reason why i am using CDHtmlDialog class, is to create a rich GUI using HTML/CSS/JavaScript that will be updated dynamically from the back end C++ code. Thanks in advance.
As mentioned in the previous answer, the version of IE used depends on your OS and what version of IE you have installed, but that does not mean it defaults to using IE10 compatibility even if you have IE10 installed. You might have to take to the registry to get the browser control to behave correctly. Check out this on SO[^], this on MSDN[^] and check your settings by connecting to this[^] Make sure your HTML file has at the beginning and you might have to have in your document as well. Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
-
As mentioned in the previous answer, the version of IE used depends on your OS and what version of IE you have installed, but that does not mean it defaults to using IE10 compatibility even if you have IE10 installed. You might have to take to the registry to get the browser control to behave correctly. Check out this on SO[^], this on MSDN[^] and check your settings by connecting to this[^] Make sure your HTML file has at the beginning and you might have to have in your document as well. Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty