Domanda

i am developing a server-client (client may be multiple ) application, in which server app should have functionality to switch controls over client for i need to define some hotkey like 'Ctrl + 1' for first client, 'Ctrl + 2' for second client and so on. For this i have to register a new hotkey when a new client is connected to the server.

My question : Is it possible to register 'Ctrl + 11' as a global hotkey? If yes then how?

È stato utile?

Soluzione

My question : Is it possible to register 'Ctrl + 11' as a global hotkey?

No it is not possible. It is not possible because keyboards do not have an 11 key. They have keys 0 to 9 and then if the user needs to input 10, that is done with two key presses, first 1 and then 0. You cannot create a global hot key that involves two key presses.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top