Advertisement

Right Click and WebBrowser Control (VB)

Started by January 07, 2001 12:52 AM
0 comments, last by BlackScar 24 years ago
Hi all, I''m trying to make a console part for my app and I''m running into a problem. I have a webbrowser control in the middle of the app and I need to make it to where I can''t bring up the right click menu. I''ve tried SEVERAL things, but nothing works. Ugh. Why couldn''t microsoft just add a EnableRightClick bool? Please help! ~-=-=-=-=-=-=~ ~Justin Eslinger~ ~.."BlackScar"..~ ~-=-=-=-=-=-=~
~-=-=-=-=-=-=~~Justin Eslinger~~.."BlackScar"..~~-=-=-=-=-=-=~
quote: Original post by BlackScar

Hi all,

I''m trying to make a console part for my app and I''m running into a problem. I have a webbrowser control in the middle of the app and I need to make it to where I can''t bring up the right click menu. I''ve tried SEVERAL things, but nothing works. Ugh. Why couldn''t microsoft just add a EnableRightClick bool?

Please help!



~-=-=-=-=-=-=~
~Justin Eslinger~
~.."BlackScar"..~
~-=-=-=-=-=-=~



I believe what you want to do is use the Win32 API. I don''t have it in front of me, but you will want to use the mouse api to capture the right click and make it act as nothing. Add that to the whenclickedon event for the web control.

Hold on, maybe I do have some code.........
actually, Nope. But it''s there.


BeS
It''s Da BOMB Baby!!!
BeSIt's Da BOMB Baby!!!. o O ~ A little nonsense now and then,is relished by the wisest men~ O o .-- Willy Wonka

This topic is closed to new replies.

Advertisement