How to resolve hotkey conflicts in Windows 10/11

Configurare noua (How To)

Situatie

Can't register keys

Solutie

Pasi de urmat

Install Visual Studio 2022 Community, a free program, if you don’t have it already. Make sure that you have Desktop Development with C++ checked during setup.

Visual Studio components to install

Launch Spy++, a tool that comes with Visual Studio. You can launch it from within the Visual Studio tools menu. Or you can go directly to the C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\ folder and double click spyxx_amd64.exe.

Launch Spy++

Select Log Messages from the Spy menu.

Select Log Messages

Check All Windows in System on the Windows tab.

All Windows in System

Check Keyboard and Hotkey on the Messages tab then click Ok.

keyboard and hotkey

A blank window appears.

blank window

  • Hit the hotkey, with another window or the desktop in focus. Some hotkeys may not work from within the Spy++ window. You will need one or more entries appear in the Spy++ logging window.
  • In our sample case, we’re going to hit the Print Screen key and see what it is assigned to.
  • Right click on the appropriate entry in the Messages window and select Properties. If there are multiple entries, try ones that have WM_HOTKEY in the name.

select properties

Click the Windows Handle ID.

click Window Handle ID

Click the Process ID.

Click Process ID

The name of the application that used your hot key should be in the module name field, as shown below.

look at the module name ID

Tip solutie

Permanent

Voteaza

(4 din 11 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?