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. MFC: Use firefox in MFC

MFC: Use firefox in MFC

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
5 Posts 5 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
    msn92
    wrote on last edited by
    #1

    Hi everyone I'm interested in coding programs that work with the web. Most of the times, I need to host some web-browser in my application and use CHtmlView for it. I would like to try to host Firefox in my applications too. Since it is opensource, is not it possible to use it in the mfc application? Thank you in advance.

    W A L M 4 Replies Last reply
    0
    • M msn92

      Hi everyone I'm interested in coding programs that work with the web. Most of the times, I need to host some web-browser in my application and use CHtmlView for it. I would like to try to host Firefox in my applications too. Since it is opensource, is not it possible to use it in the mfc application? Thank you in advance.

      W Offline
      W Offline
      wangningyu
      wrote on last edited by
      #2

      May be it doesn't suppsoed. :)

      1 Reply Last reply
      0
      • M msn92

        Hi everyone I'm interested in coding programs that work with the web. Most of the times, I need to host some web-browser in my application and use CHtmlView for it. I would like to try to host Firefox in my applications too. Since it is opensource, is not it possible to use it in the mfc application? Thank you in advance.

        A Offline
        A Offline
        Andrew Brock
        wrote on last edited by
        #3

        There is an article at https://developer.mozilla.org/en/Gecko_Embedding_Basics[^] which covers the basics on embedding the gecko engine into a program. The fact that you are using MFC is meaningless, you may need to make a wrapper class, but it will work. You may also want to look at the SpiderMonkey[^] article too, as that may help if you are wanting to use JavaScript.

        1 Reply Last reply
        0
        • M msn92

          Hi everyone I'm interested in coding programs that work with the web. Most of the times, I need to host some web-browser in my application and use CHtmlView for it. I would like to try to host Firefox in my applications too. Since it is opensource, is not it possible to use it in the mfc application? Thank you in advance.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          You could possibly take the source code of Firefox and extract the parts that make up the actual browser control and include that in your application, but I do not think it would be an easy task.

          I must get a clever new signature for 2011.

          1 Reply Last reply
          0
          • M msn92

            Hi everyone I'm interested in coding programs that work with the web. Most of the times, I need to host some web-browser in my application and use CHtmlView for it. I would like to try to host Firefox in my applications too. Since it is opensource, is not it possible to use it in the mfc application? Thank you in advance.

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

            msn92 wrote:

            Since it (firefox) is opensource, is not it possible to use it in the mfc application?

            is your program open source ?

            Watched code never compiles.

            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