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/hscroll.h | |
| parent | bb28a02b15693ab858beb7a24c5403ad4a7567f5 (diff) | |
More Windows Table work.
Diffstat (limited to 'wintable/hscroll.h')
| -rw-r--r-- | wintable/hscroll.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/wintable/hscroll.h b/wintable/hscroll.h index 6c700a7..f4c3b0f 100644 --- a/wintable/hscroll.h +++ b/wintable/hscroll.h @@ -112,3 +112,14 @@ static void recomputeHScroll(struct table *t) si.nMax = t->width - 1; // - 1 because endpoints inclusive SetScrollInfo(t->hwnd, SB_HORZ, &si, TRUE); } + +HANDLER(hscroll) +{ + switch (uMsg) { + case WM_HSCROLL: + hscroll(t, wParam); + *lResult = 0; + return TRUE; + } + return FALSE; +} |
