mirror of
https://github.com/0intro/conterm
synced 2024-11-25 07:09:34 +03:00
gui-win32: fix scroll wheel (thanks hiro)
This commit is contained in:
parent
445b6293d6
commit
49233b059e
@ -330,6 +330,7 @@ WindowProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
|
|||||||
int i;
|
int i;
|
||||||
Rectangle r;
|
Rectangle r;
|
||||||
|
|
||||||
|
b = 0;
|
||||||
switch(msg) {
|
switch(msg) {
|
||||||
case WM_CREATE:
|
case WM_CREATE:
|
||||||
break;
|
break;
|
||||||
@ -354,7 +355,6 @@ WindowProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
|
|||||||
case WM_RBUTTONDOWN:
|
case WM_RBUTTONDOWN:
|
||||||
x = LOWORD(lparam);
|
x = LOWORD(lparam);
|
||||||
y = HIWORD(lparam);
|
y = HIWORD(lparam);
|
||||||
b = 0;
|
|
||||||
if(wparam & MK_LBUTTON)
|
if(wparam & MK_LBUTTON)
|
||||||
b = 1;
|
b = 1;
|
||||||
if(wparam & MK_MBUTTON)
|
if(wparam & MK_MBUTTON)
|
||||||
|
Loading…
Reference in New Issue
Block a user