Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a mouse with only two buttons but I still need to use the middle mouse click for some programs. Is there a way to emulate the middle mouse click (e.g. by adding a keyboard shortcurt) in Windows 7?

share|improve this question

migrated from stackoverflow.com Aug 21 '11 at 16:38

This question came from our site for professional and enthusiast programmers.

add comment

6 Answers

The functions you're looking for are RegisterHotKey and SendInput.

share|improve this answer
    
Note: this refers to how to code this using the win32 API –  soandos Dec 1 '11 at 8:12
add comment

Did you try Shift+Leftclick or something similar? Some laptops use that combination to simulate middle button. Or click both buttons.

share|improve this answer
add comment

If you are at all familiar with AutoIt or Autohotkey you could map any button you like to function as the middle mouse button. If you're not familiar with them, it will take less than 10 minutes to download, install and learn the syntax required to do this.

share|improve this answer
add comment

Try pressing both the left and right mouse buttons at the same time. If it doesn't work, take a look at this: http://cybernetnews.com/helpful-tip-middle-click-on-a-touchpad-laptop-mouse/.

Try searching the forum next time, there is already an answer: How can I emulate middle click in Windows on a touchpad?

share|improve this answer
add comment

Use the free tool NeatMouse. It allows you to emulate any mouse-button via a configurable key.

share|improve this answer
add comment

I have a Toshiba Kirabook with Windows 8.1 and similarly no middle mouse button and one of my programs requires a middle mouse click for some functions. I was experimenting with different key strike combinations and found that if I hold down the "Fn" key between the "ctrl" and "windows/ startmenu" key and left-click, then it makes a middle mouse click in any program. Hope this helps Kirabook users.

Regards, Christopher Collins

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.