Question How do I detect when MenuStip item is highlighted?

ChrisFinch

New member
Joined
Jul 20, 2013
Messages
3
Programming Experience
Beginner
Hello, how do I detect when a MenuStrip menu item is highlighted by windows?

I am developing a keyboard-only application, and I need to detect when an item is highlighted, that way I can tell the computer to send a down key, going further down the menu. I need it so that any menu items I have disabled cannot be highlighted.

Untitled.png

Here is an example of Adobe Reader's menustrip with an item highlighted. I need to detect when that happens. There will not be a mouse cursor, so I cannot detect when the mouse is hovering over it.


Also: perhaps there is an easier way to do what I need:
I need all disabled MenuStrip items to not be highlightable by keyboard arrows.
 
Top Bottom