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. CHtmlView

CHtmlView

Scheduled Pinned Locked Moved C / C++ / MFC
c++htmltutorialquestion
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.
  • B Offline
    B Offline
    BadJerry
    wrote on last edited by
    #1

    I am using a CHtmlView in an MFC application - viewing an offline HTML page. I can intercept a from submission with OnBeforeNavigate2 but does anyone know how to trap an AJAX call and refresh the relevant page appropriately? Any clue / tip welcome! Thanks in advance!

    M 1 Reply Last reply
    0
    • B BadJerry

      I am using a CHtmlView in an MFC application - viewing an offline HTML page. I can intercept a from submission with OnBeforeNavigate2 but does anyone know how to trap an AJAX call and refresh the relevant page appropriately? Any clue / tip welcome! Thanks in advance!

      M Offline
      M Offline
      mesajflaviu
      wrote on last edited by
      #2

      Maybe follow link will help you : JavaScript call from C++[^] Handling HTML Element Events in MFC applications - A simple alternative approach[^]

      B 1 Reply Last reply
      0
      • M mesajflaviu

        Maybe follow link will help you : JavaScript call from C++[^] Handling HTML Element Events in MFC applications - A simple alternative approach[^]

        B Offline
        B Offline
        BadJerry
        wrote on last edited by
        #3

        Thanks for your pointers - the one about calling JS from C++ is particularly interesting... this is not exactly what I am looking for but I may find a way around...

        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