Disable menustrip selection by pressing alt

I would like to have some shortcuts with alt, but when I press alt, menustrip is selected. How can I disable this behavior?

+3
source share
2 answers

This is why on Windows you do not use the ALT + keyboard shortcuts. You should not try to undermine the behavior of your own system. The solution is to choose a different key combination.

+2
source

I know this thread is old, but I ran into the same problem.

One partial solution is to use the SendKeys.Send function to simulate a second press of the alt key. For example, to simulate a user by pressing "alt-0":

sendkeys.send( "% 0" )

, Alt , .

, , Alt-. , , , Alt, .

Alt menustrip.activate, , - menustrip.deactivate Alt, , ...

0

Source: https://habr.com/ru/post/1782256/


All Articles