From 2e617611c5c1214f1bf9eb9460d0282a5885a9a7 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 3 Apr 2014 21:00:38 -0400 Subject: Adjusted Button and Combobox sizes on Windows to be better... --- controls_windows.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'controls_windows.go') 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. -- cgit v1.2.3