Home > Software engineering >  How to make the mouse in a program window banned right-click the operation
How to make the mouse in a program window banned right-click the operation

Time:09-28

Inquire? This program right click can be closed, I demand is banned right-click, or there are other ways to make the program to ban closed?

CodePudding user response:

Need to rewrite the existing methods

CodePudding user response:

1. HOOK the bottom of the mouse message, if the window is to "disabled" window, just eat the right mouse button,

2. If it is your own programs, remove the response of the right mouse button code line ah,
You can't be always to ban "use the right mouse button operation!" "
If there is a so BT request, you asked him to put the right mouse button to dig out,

CodePudding user response:

Advise the landlord don't spend and waste your limited life infinite encryption to decrypt dead loop!
  •  Tags:  
  • VBA
  • Related