CHTMLView questions
-
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.
-
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.
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