-
Notifications
You must be signed in to change notification settings - Fork 812
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add One-Hand mice wheel scroll diff and merge (#2435) (6). Use WH_MOU…
…SE instead of WM_MOUSE_LL
- Loading branch information
Showing
5 changed files
with
18 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
class CLowLevelMouseHook | ||
class CMouseHook | ||
{ | ||
public: | ||
static void SetMouseHook(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28c99cc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still the same problem, when start two instance of WinMerge, the 2nd can not block popup menu of right button when RB+Scroll Up/Down.
I remove the timer proc, and change IsRightWheelScrolling() to
It seems work on both EmergeEditView and DirView. What is the reason for adding that TimerProc?
28c99cc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for pointing that out.
I was unable to reproduce the problem, but I think it's probably a timing issue with TimerProc running before OnContextMenu.
TimerProc was used to close the context menu that appears for a moment after right-clicking Up on the Image compare window, Binary compare window, and Webpage compare window.
This TimerProc has been deleted.