From 6b2c295fdc6d71daca898dcf2c38aabf9f29db6a Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 1 Dec 2014 15:34:26 -0500 Subject: Isolated vertical scroll messages with the other vertical scroll code. --- wintable/main.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'wintable/main.c') 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; -- cgit v1.2.3