summaryrefslogtreecommitdiff
path: root/controls_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-04-03 21:00:38 -0400
committerPietro Gagliardi <[email protected]>2014-04-03 21:00:38 -0400
commit2e617611c5c1214f1bf9eb9460d0282a5885a9a7 (patch)
tree48441ed7a18a47afeba2674fa0bbc5619bea8e4c /controls_windows.go
parent89e3afc4131223fa3d9932714d965b4ce140aab4 (diff)
Adjusted Button and Combobox sizes on Windows to be better...
Diffstat (limited to 'controls_windows.go')
-rw-r--r--controls_windows.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/controls_windows.go b/controls_windows.go
index e7a72c9..581c1a7 100644
--- a/controls_windows.go
+++ b/controls_windows.go
@@ -40,6 +40,7 @@ const (
_BS_NOTIFY = 0x00004000
_BS_FLAT = 0x00008000
_BS_RIGHTBUTTON = _BS_LEFTTEXT
+
// from commctrl.h
// _BS_SPLITBUTTON = 0x0000000C // Windows Vista and newer and(/or?) comctl6 only
// _BS_DEFSPLITBUTTON = 0x0000000D // Windows Vista and newer and(/or?) comctl6 only
@@ -59,6 +60,10 @@ const (
_BM_GETIMAGE = 0x00F6
_BM_SETIMAGE = 0x00F7
_BM_SETDONTCLICK = 0x00F8
+
+ // from commctrl.h
+ _BCM_FIRST = 0x1600
+ _BCM_GETIDEALSIZE = (_BCM_FIRST + 0x0001)
)
// Button WM_COMMAND notifications.