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. Help!! CHTMLView inside CDialog

Help!! CHTMLView inside CDialog

Scheduled Pinned Locked Moved C / C++ / MFC
helpcomdesignarchitecturequestion
3 Posts 2 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.
  • C Offline
    C Offline
    crewchill
    wrote on last edited by
    #1

    Hi. Recently due to my newbie design, I got stuck with all my windows as dialogs. Now I want to create a modal help dialog that has CHTMLView in it. I successfully did this with WebBrowser ActiveX object, but it requires external file (which I dont like), since it doesnt have LoadFromResource interface. Now most of the examples shown have Doc/View architecture which makes it simple to replace CChildView with CHTMLView. But almost none is inside a CDialog. The hints like creating CFrameWnd inside a CDialog sounds good but I couldn't make it work. Can anyone help / post an article on this? Any solutions will do. Thanks!!! Desperate... :(

    J 1 Reply Last reply
    0
    • C crewchill

      Hi. Recently due to my newbie design, I got stuck with all my windows as dialogs. Now I want to create a modal help dialog that has CHTMLView in it. I successfully did this with WebBrowser ActiveX object, but it requires external file (which I dont like), since it doesnt have LoadFromResource interface. Now most of the examples shown have Doc/View architecture which makes it simple to replace CChildView with CHTMLView. But almost none is inside a CDialog. The hints like creating CFrameWnd inside a CDialog sounds good but I couldn't make it work. Can anyone help / post an article on this? Any solutions will do. Thanks!!! Desperate... :(

      J Offline
      J Offline
      Joan M
      wrote on last edited by
      #2

      Take a look at this article, I've been using it in an application that is running 24 hours x day and it is going well... http://www.codeproject.com/useritems/HTMLCtrlSample.asp[^] hope this helps...

      C 1 Reply Last reply
      0
      • J Joan M

        Take a look at this article, I've been using it in an application that is running 24 hours x day and it is going well... http://www.codeproject.com/useritems/HTMLCtrlSample.asp[^] hope this helps...

        C Offline
        C Offline
        crewchill
        wrote on last edited by
        #3

        Thanks much! I was able to get the original Paul DiLascia HTMLCtrl and works awesome. http://www.microsoft.com/msj/0100/c/c0100.aspx

        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