lundi 3 décembre 2018

How to Hook only a KeyboardFocus on Windows API

I'm searching on msdn for a Hook handler about Keyboard Focus, but didn't found.

I want the handler for the element on focus by keyboard.

Example:

When we are on Desktop and press any key that is a first letter of a program, these program is selected. Example 1

When we press the TAB key for navigation links, these element is selected. Example 2

I saw the CBTProc for hook a keyboard events, but is not helpfull, because we can select the item by click of mouse.

So, I want the handler about focus of mouse or keyboard, the element name.

Thanks!

Aucun commentaire:

Enregistrer un commentaire