projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
955048e
)
[SYSSETUP] PS2MousePropPageProvider: Use the UDN_DELTAPOS notification to change...
author
Eric Kohl
<eric.kohl@reactos.org>
Mon, 23 Apr 2018 21:58:07 +0000
(23:58 +0200)
committer
Eric Kohl
<eric.kohl@reactos.org>
Mon, 23 Apr 2018 21:58:49 +0000
(23:58 +0200)
dll/win32/syssetup/proppage.c
patch
|
blob
|
history
diff --git
a/dll/win32/syssetup/proppage.c
b/dll/win32/syssetup/proppage.c
index
d200a84
..
eb38cf9
100644
(file)
--- a/
dll/win32/syssetup/proppage.c
+++ b/
dll/win32/syssetup/proppage.c
@@
-188,6
+188,28
@@
MouseOnCommand(
}
}
+static
+BOOL
+MouseOnNotify(
+ HWND hwndDlg,
+ WPARAM wParam,
+ LPARAM lParam)
+{
+ switch (((LPNMHDR)lParam)->idFrom)
+ {
+ case IDC_PS2MOUSEINPUTUPDN:
+ if (((LPNMHDR)lParam)->code == UDN_DELTAPOS)
+ {
+ ((LPNMUPDOWN)lParam)->iDelta *= 10;
+ return FALSE;
+ }
+ break;
+ }
+
+ return FALSE;
+}
+
+
static
INT_PTR
CALLBACK
static
INT_PTR
CALLBACK
@@
-209,6
+231,9
@@
MouseDlgProc(
MouseOnCommand(hwndDlg, wParam, lParam);
break;
MouseOnCommand(hwndDlg, wParam, lParam);
break;
+ case WM_NOTIFY:
+ return MouseOnNotify(hwndDlg, wParam, lParam);
+
}
return FALSE;
}
return FALSE;