Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable Right Mouse Click
Message
 
To
05/01/2001 09:49:15
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00459781
Message ID:
00459812
Views:
24
>Does anybody know a way to disable right mouse clicking on a control? When the right mouse button is clicked on this particular control it brings up a menu with several options. We don't want the user to see this menu -- is there any way to disable it?

Hi Phillip,

Where is the code which calls the menu? Is it inherited from the your control's base class? In this case you can just put an asterisk into RightClick() method of the control so the method will be overridden and the parent class code will not fire.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform