diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-25 08:23:31 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-25 08:23:31 -0400 |
| commit | 13370c22d314f6e8b7d87e692e392f3606388703 (patch) | |
| tree | c5f24ad716ebf598a1fec0244237cba41ba4c576 /controls_windows.go | |
| parent | 136f2262fdf20ffe092567a3f7130668f4f1c7a0 (diff) | |
Added the actual scrolling to Windows Areas. Now to just adjust the cliprect properly...
Diffstat (limited to 'controls_windows.go')
| -rw-r--r-- | controls_windows.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/controls_windows.go b/controls_windows.go index 24adcfa..ab227ee 100644 --- a/controls_windows.go +++ b/controls_windows.go @@ -490,6 +490,15 @@ const ( _SIF_ALL = (_SIF_RANGE | _SIF_PAGE | _SIF_POS | _SIF_TRACKPOS) ) +// ScrollWindowEx return values. +const ( + // from wingdi.h + _ERROR = 0 + _NULLREGION = 1 + _SIMPLEREGION = 2 + _COMPLEXREGION = 3 +) + var ( _getScrollInfo = user32.NewProc("GetScrollInfo") _getScrollPos = user32.NewProc("GetScrollPos") |
