Re: Windows 7 catches wheel down as scroll, not mouse-2

Ken Goldman <[email protected]> Wed, 10 May 2017 13:54:17 -0400
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>
On 5/10/2017 1:25 PM, Eli Zaretskii wrote:
>> From: Ken Goldman <[email protected]>
>> Date: Wed, 10 May 2017 11:04:29 -0400
>>
>> C-h k and then a wheel click does nothing.  The "Describe key" prompt in
>> the mode line does not change.
>>
>> On the screen, a "circle with up and down arrows" appears.  This is
>> evidently the Windows 7 feature that permits scrolling using the mouse.
> 
> Does it help to set w32-swap-mouse-buttons non-nil?

No.  I think the issue is that Windows is catching the wheel click event 
before it gets to the application.

Left button is assigned to Context Menu, which maps to emacs mouse-1. 
Right button is Primary Mouse Button, mapping to emacs mouse-3.

The mouse properties dialog lets me assign the wheel to many things: 
recycle bin, maximize, C-c, escape, Fn keys, etc., but none of them maps 
to the emacs mouse-2 event.

FWIW, my work around is to assign the wheel click to F3, then assign F3 
to my desired mouse-2 behavior - yank.