diff options
| author | Pietro Gagliardi <[email protected]> | 2014-12-03 19:38:08 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-12-03 19:38:08 -0500 |
| commit | 5b904dfa9418a34d2beb6178f5b6cc5aa8da355c (patch) | |
| tree | c3bacfa21ee589d285ee629c4cb217ffd93ed244 /wintable/main.c | |
| parent | bb28a02b15693ab858beb7a24c5403ad4a7567f5 (diff) | |
More Windows Table work.
Diffstat (limited to 'wintable/main.c')
| -rw-r--r-- | wintable/main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/wintable/main.c b/wintable/main.c index 848e6d6..6a4c27a 100644 --- a/wintable/main.c +++ b/wintable/main.c @@ -105,6 +105,7 @@ struct table { typedef BOOL (*handlerfunc)(struct table *, UINT, WPARAM, LPARAM, LRESULT *); const handlerfunc handlerfuncs[] = { + hscrollHandler, vscrollHandler, APIHandler, NULL, @@ -177,9 +178,6 @@ if (ImageList_GetIconSize(t->imagelist, &unused, &(t->imagelistHeight)) == 0)abo drawItems(t, dc, ps.rcPaint); EndPaint(hwnd, &ps); return 0; - case WM_HSCROLL: - hscroll(t, wParam); - return 0; case WM_SIZE: resize(t); return 0; @@ -190,6 +188,7 @@ if (ImageList_GetIconSize(t->imagelist, &unused, &(t->imagelistHeight)) == 0)abo case WM_KILLFOCUS: // all we need to do here is redraw the highlight // TODO ensure giving focus works right + // TODO figure out hwat I meant by this redrawRow(t, t->selected); return 0; case WM_KEYDOWN: |
