|
-
January 16th, 2004, 09:23 AM
#1
deactivate contextmenu in Webbrowser control under MFC
Hi,
I've got a MFC-programm in which i included the Microsoft Webbrowser control. Now I want to deactivate that the contextmenu is shown when the user rightclicks on the control. But I've got no idea how to do that. Can anyone please give me a hint?
Thanks in Advance
Akademos
-
January 16th, 2004, 01:20 PM
#2
Re: deactivate contextmenu in Webbrowser control under MFC
Originally posted by Akademos
i included the Microsoft Webbrowser control.
Could you please clarify that? How did you include web browser control?
There are only 10 types of people in the world:
Those who understand binary and those who do not.
-
January 19th, 2004, 03:02 AM
#3
I added it into a dialog-resource via the "Insert ActiveX-Control" Context-menu in the resource designer. So I've got a CExplorer1 class derived from CWindow.
-
January 19th, 2004, 04:28 PM
#4
I am afraid that there is no easy way to do it. frankly it goes beyond the scope of this forum.
Look into Web Browser customization in MSDN. Also read about IDocHostUIHandler that will allow you customization of the browser.
There are only 10 types of people in the world:
Those who understand binary and those who do not.
-
March 22nd, 2004, 03:30 PM
#5
A decent article about this
Hi list,
Here is a decent article that I have recently discovered, which is discussing the customization of the context menus of a WebBrowser control, via the IDocHostUIHandler.
Regards,
-Theo
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|