summaryrefslogtreecommitdiff
path: root/controls_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'controls_windows.go')
-rw-r--r--controls_windows.go9
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")