summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAlexander Neumann <alexander.neumann@picos-software.com>2019-09-16 09:51:06 +0200
committerAlexander Neumann <alexander.neumann@picos-software.com>2019-09-16 09:51:06 +0200
commit2e5d7b6e1bf20b46aefa3bc404e1c0e773fad70f (patch)
tree035470685edaa1230730dab1d25073f39870fdcc
parentRevert "Make HRESULT constants typed" (diff)
parentAdd EM_SETCARETINDEX and EM_GETCARETINDEX (diff)
downloadwireguard-windows-2e5d7b6e1bf20b46aefa3bc404e1c0e773fad70f.tar.xz
wireguard-windows-2e5d7b6e1bf20b46aefa3bc404e1c0e773fad70f.zip
Merge branch 'pending/consts' of https://github.com/Amebis/win into consts
-rw-r--r--comctl32.go7
-rw-r--r--edit.go2
2 files changed, 9 insertions, 0 deletions
diff --git a/comctl32.go b/comctl32.go
index b0e22954..28b37939 100644
--- a/comctl32.go
+++ b/comctl32.go
@@ -210,6 +210,13 @@ const (
)
const (
+ LVIR_BOUNDS = 0
+ LVIR_ICON = 1
+ LVIR_LABEL = 2
+ LVIR_SELECTBOUNDS = 3
+)
+
+const (
LPSTR_TEXTCALLBACK = ^uintptr(0)
I_CHILDRENCALLBACK = -1
I_IMAGECALLBACK = -1
diff --git a/edit.go b/edit.go
index 38509cf7..a7b3b125 100644
--- a/edit.go
+++ b/edit.go
@@ -81,4 +81,6 @@ const (
EM_GETIMESTATUS = 0x00D9
EM_SETCUEBANNER = 0x1501
EM_GETCUEBANNER = 0x1502
+ EM_SETCARETINDEX = 0x1511
+ EM_GETCARETINDEX = 0x1512
)