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 questions

CHTMLView questions

Scheduled Pinned Locked Moved C / C++ / MFC
html
2 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.
  • U Offline
    U Offline
    User 2062
    wrote on last edited by
    #1

    Hi folks, I'm hooking around CHTMLView class in an app to display some CHM/ITS files, but can't change the IE default context menu or even disable it at all. I'd like to show another menu instead. 2nd. How is it possible to Navigate to the "Home" html page in a CHM file. This works fine with the "....::/" syntax if there is a default.htm file in the compiled file, but not when the def page has another file name. Any hints very appreciated.

    M 1 Reply Last reply
    0
    • U User 2062

      Hi folks, I'm hooking around CHTMLView class in an app to display some CHM/ITS files, but can't change the IE default context menu or even disable it at all. I'd like to show another menu instead. 2nd. How is it possible to Navigate to the "Home" html page in a CHM file. This works fine with the "....::/" syntax if there is a default.htm file in the compiled file, but not when the def page has another file name. Any hints very appreciated.

      M Offline
      M Offline
      mark s webb
      wrote on last edited by
      #2

      As far as pt1 is concerned, I believe that CHtmlView defines a control site for the underlying browser control. What you therefore need to do is override this with a custom control site containing your own context menu... Check out knowledge base article Q236312, 'HOWTO: Disable the Default Pop-up Menu for CHtmlView' for a detailed explanation

      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