diff options
| author | Pietro Gagliardi <[email protected]> | 2014-12-01 15:34:26 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-12-01 15:34:26 -0500 |
| commit | 6b2c295fdc6d71daca898dcf2c38aabf9f29db6a (patch) | |
| tree | c00a89cc2154c2a7c172de6b3e22f1d6fc96a872 /wintable/main.c | |
| parent | 16a88c548bc94eea245e204e56f598f2cad2a924 (diff) | |
Isolated vertical scroll messages with the other vertical scroll code.
Diffstat (limited to 'wintable/main.c')
| -rw-r--r-- | wintable/main.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/wintable/main.c b/wintable/main.c index 7d70446..aa92520 100644 --- a/wintable/main.c +++ b/wintable/main.c @@ -104,6 +104,7 @@ struct table { typedef BOOL (*handlerfunc)(struct table *, UINT, WPARAM, LPARAM, LRESULT *); const handlerfunc handlerfuncs[] = { + vscrollHandler, APIHandler, NULL, }; @@ -175,12 +176,6 @@ if (ImageList_GetIconSize(t->imagelist, &unused, &(t->imagelistHeight)) == 0)abo drawItems(t, dc, ps.rcPaint); EndPaint(hwnd, &ps); return 0; - case WM_VSCROLL: - vscroll(t, wParam); - return 0; - case WM_MOUSEWHEEL: - wheelscroll(t, wParam); - return 0; case WM_HSCROLL: hscroll(t, wParam); return 0; |
