Click here to Skip to main content
15,906,816 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Disable Right Click Context menu!!! Pin
Rage7-Jul-03 22:49
professionalRage7-Jul-03 22:49 
GeneralRe: Disable Right Click Context menu!!! Pin
xxhimanshu7-Jul-03 23:06
xxhimanshu7-Jul-03 23:06 
GeneralRe: Disable Right Click Context menu!!! Pin
Ryan Binns7-Jul-03 22:53
Ryan Binns7-Jul-03 22:53 
GeneralRe: Disable Right Click Context menu!!! Pin
xxhimanshu7-Jul-03 23:08
xxhimanshu7-Jul-03 23:08 
GeneralRe: Disable Right Click Context menu!!! Pin
Ryan Binns7-Jul-03 23:16
Ryan Binns7-Jul-03 23:16 
GeneralRe: Disable Right Click Context menu!!! Pin
Rage8-Jul-03 0:44
professionalRage8-Jul-03 0:44 
GeneralRe: Disable Right Click Context menu!!! Pin
Ryan Binns8-Jul-03 0:47
Ryan Binns8-Jul-03 0:47 
GeneralRe: Disable Right Click Context menu!!! Pin
Iain Clarke, Warrior Programmer7-Jul-03 23:48
Iain Clarke, Warrior Programmer7-Jul-03 23:48 
Its a *lot* of work changing the behaviour of another application.

But if you are hosting the WebBrowser ActiveX control in (e.g.) a dialog box in your application, there
are things you can do. You may be able to subclass the window (as suggested by Ryan Binns), or you may
be able to follow the instructions given in: WebBrowser Customization[^] in the MSDN library.

You would implement the IDocHostUIHandler yourself, and handle the IDocHostUIHandler::ShowContextMenu
interface method to disable the right click menu.

Of course, this wouldn't be trivial either! OMG | :OMG:

Would it be that terrible if the user could see the html source of your about box? Confused | :confused:

Iain.
GeneralAbout IOCTL_DISK_VERIFY Pin
FlyingDancer7-Jul-03 19:31
FlyingDancer7-Jul-03 19:31 
GeneralRe: About IOCTL_DISK_VERIFY Pin
David Crow8-Jul-03 3:16
David Crow8-Jul-03 3:16 
GeneralRe: About IOCTL_DISK_VERIFY Pin
FlyingDancer8-Jul-03 3:34
FlyingDancer8-Jul-03 3:34 
GeneralRe: About IOCTL_DISK_VERIFY Pin
FlyingDancer8-Jul-03 3:41
FlyingDancer8-Jul-03 3:41 
GeneralRe: About IOCTL_DISK_VERIFY Pin
David Crow8-Jul-03 4:47
David Crow8-Jul-03 4:47 
GeneralWant to get an ActiveX control for displaying picture Pin
Xilin7-Jul-03 18:20
Xilin7-Jul-03 18:20 
QuestionDirectShow ...How do i overlay a bitmap pic over a video source? Pin
Member 4048137-Jul-03 17:36
Member 4048137-Jul-03 17:36 
AnswerRe: DirectShow ...How do i overlay a bitmap pic over a video source? Pin
Andrew Walker7-Jul-03 19:27
Andrew Walker7-Jul-03 19:27 
GeneralManipulating Systray icons Pin
haritadala7-Jul-03 14:15
haritadala7-Jul-03 14:15 
GeneralRe: Manipulating Systray icons Pin
Ryan Binns7-Jul-03 15:45
Ryan Binns7-Jul-03 15:45 
Generalsaving and loading application settings Pin
crapfacejoe7-Jul-03 12:44
crapfacejoe7-Jul-03 12:44 
GeneralRe: saving and loading application settings Pin
valikac7-Jul-03 12:54
valikac7-Jul-03 12:54 
GeneralRe: saving and loading application settings Pin
John R. Shaw7-Jul-03 13:12
John R. Shaw7-Jul-03 13:12 
GeneralRe: saving and loading application settings Pin
John M. Drescher7-Jul-03 13:31
John M. Drescher7-Jul-03 13:31 
Generalgetting the value of an int in a cpp file into another Pin
keegan7-Jul-03 9:51
keegan7-Jul-03 9:51 
GeneralRe: getting the value of an int in a cpp file into another Pin
Navin7-Jul-03 9:59
Navin7-Jul-03 9:59 
GeneralRe: getting the value of an int in a cpp file into another Pin
keegan7-Jul-03 10:11
keegan7-Jul-03 10:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.