Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. CDHtmlDialog : Not supporting "Canvas" tag in HTML

CDHtmlDialog : Not supporting "Canvas" tag in HTML

Scheduled Pinned Locked Moved C / C++ / MFC
c++javascripthtmlcssquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Don Guy
    wrote on last edited by
    #1

    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.

    L S 2 Replies Last reply
    0
    • D Don Guy

      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.

      L Offline
      L Offline
      Lost Penguin
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • D Don Guy

        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.

        S Offline
        S Offline
        SoMad
        wrote on last edited by
        #3

        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

        D 1 Reply Last reply
        0
        • S SoMad

          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

          D Offline
          D Offline
          Don Guy
          wrote on last edited by
          #4

          Thanks guys!

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups