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. html-based modless Windeow

html-based modless Windeow

Scheduled Pinned Locked Moved C / C++ / MFC
htmlhelpquestionlearning
7 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.
  • M Offline
    M Offline
    meinhard_risch
    wrote on last edited by
    #1

    Hi to you, sorry about me very bad english. I'm looking for a way to include a html-based resource in a project and diplay it as an modless Window. Can somebody help? Meinhard :confused:

    E 1 Reply Last reply
    0
    • M meinhard_risch

      Hi to you, sorry about me very bad english. I'm looking for a way to include a html-based resource in a project and diplay it as an modless Window. Can somebody help? Meinhard :confused:

      E Offline
      E Offline
      EXTEIDE
      wrote on last edited by
      #2

      use below in your .rc file: TESTID RCDATA "htmlfile.html" and use it in your code. m_hInstance can be NULL. HRSRC h = FindResource(m_hInstance, "TESTID", RT_RCDATA); if (!h) { HGLOBAL f = LoadResource(m_hInstance, h); void* mem = LockResource(f); int size = SizeofResource(m_hInstance, h); } and cook it. Enjoy:rose: Anderson Sheen (exteide@gmail.com) The Extension IDE: http://www.exteide.com

      M 1 Reply Last reply
      0
      • E EXTEIDE

        use below in your .rc file: TESTID RCDATA "htmlfile.html" and use it in your code. m_hInstance can be NULL. HRSRC h = FindResource(m_hInstance, "TESTID", RT_RCDATA); if (!h) { HGLOBAL f = LoadResource(m_hInstance, h); void* mem = LockResource(f); int size = SizeofResource(m_hInstance, h); } and cook it. Enjoy:rose: Anderson Sheen (exteide@gmail.com) The Extension IDE: http://www.exteide.com

        M Offline
        M Offline
        meinhard_risch
        wrote on last edited by
        #3

        Thank you very much!! I tried it and it works fine! But as a stupid I am, my question now is, how to put it on the sreen in a window? Thank you for helping again. Meinhard :) :confused:

        E 1 Reply Last reply
        0
        • M meinhard_risch

          Thank you very much!! I tried it and it works fine! But as a stupid I am, my question now is, how to put it on the sreen in a window? Thank you for helping again. Meinhard :) :confused:

          E Offline
          E Offline
          EXTEIDE
          wrote on last edited by
          #4

          You're welcome. It's my pleasure. you can save the resource to temporary file, and load it by using the MFCIE. Or access it directly in MFCIE if it would work. see the below msdn reference. you can download the sample. http://msdn2.microsoft.com/en-us/library/ms177540(en-US,VS.80).aspx[^] Enjoy:rose: Anderson Sheen (exteide@gmail.com) The Extension IDE: http://www.exteide.com

          M 1 Reply Last reply
          0
          • E EXTEIDE

            You're welcome. It's my pleasure. you can save the resource to temporary file, and load it by using the MFCIE. Or access it directly in MFCIE if it would work. see the below msdn reference. you can download the sample. http://msdn2.microsoft.com/en-us/library/ms177540(en-US,VS.80).aspx[^] Enjoy:rose: Anderson Sheen (exteide@gmail.com) The Extension IDE: http://www.exteide.com

            M Offline
            M Offline
            meinhard_risch
            wrote on last edited by
            #5

            Thank you for your answer. But the difficulties never ends. The linked sample is written for Vers 8.0. I'm unable to use, because I#m only owner of the 7.0 Version of VS. Hope you would help me again. All the best Meinhard ;)

            E 1 Reply Last reply
            0
            • M meinhard_risch

              Thank you for your answer. But the difficulties never ends. The linked sample is written for Vers 8.0. I'm unable to use, because I#m only owner of the 7.0 Version of VS. Hope you would help me again. All the best Meinhard ;)

              E Offline
              E Offline
              EXTEIDE
              wrote on last edited by
              #6

              ok. i'd like to introduce this: http://www.codeguru.com/cpp/i-n/ieprogram/article.php/c4373/#more[^] and you need to download latest sdk. look up PSDK-x86.exe in below page. but you should choose it by your cpu. http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en[^] Enjoy:rose: Anderson Sheen (exteide@gmail.com) The Extension IDE: http://www.exteide.com

              M 1 Reply Last reply
              0
              • E EXTEIDE

                ok. i'd like to introduce this: http://www.codeguru.com/cpp/i-n/ieprogram/article.php/c4373/#more[^] and you need to download latest sdk. look up PSDK-x86.exe in below page. but you should choose it by your cpu. http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en[^] Enjoy:rose: Anderson Sheen (exteide@gmail.com) The Extension IDE: http://www.exteide.com

                M Offline
                M Offline
                meinhard_risch
                wrote on last edited by
                #7

                thanks for all, it works fine !!:)

                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