Detect hotkeys conflict using Spy++

As mentioned before, I am often frustrated by hotkey conflicts when I using windows, especially in Emacs.(there are a lot of key bindings.)

To find what program intercept the hotkeys, you can using following approach:

1,Open Spy++(spy++ comes with visual studio)
image
click log icon as above picture.

 

2,Message options window will pop up after you click log icon.
select [All Windows in System] in multiple choose box. as following:
image

3,Click Messages tab in Message Options, and mark up the keybord&hotkey boxes.
image

4,After you select, press OK button. You will see message window.
image

The windows message be displayed in above window as you press keyboard. Now we inspect  the first record(hotkey) and find out which program intercept this hotkey.

 

5, As you see, I marked the “Window Handle” in red rectangle which is 0003004C. Now, click Find Window icon on Spy++ toolbar.
image

A pop up window as following, you put 0003004c after label of Handle, and press OK.
image

 

6, Oh, at this point you know who is troublemaker.
image

You can also press Synchronize button to track the process in Spy++.

你可能感兴趣的:(keys)