diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-13 15:14:10 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-13 15:14:10 -0500 |
| commit | 44842fea4b2a46ded301fb460a9a0f998fc2ee0c (patch) | |
| tree | 23e7cb18336960022df2764fc6c4243d29024242 /controls_windows.go | |
| parent | f3c77bda6e720fe7750fc3db2aa38f8b74faf585 (diff) | |
Added Checkbox.Checked().
Diffstat (limited to 'controls_windows.go')
| -rw-r--r-- | controls_windows.go | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/controls_windows.go b/controls_windows.go index 06d7317..3a6f472 100644 --- a/controls_windows.go +++ b/controls_windows.go @@ -38,10 +38,25 @@ const ( _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 +// _BS_SPLITBUTTON = 0x0000000C // Windows Vista and newer and(/or?) comctl6 only +// _BS_DEFSPLITBUTTON = 0x0000000D // Windows Vista and newer and(/or?) comctl6 only // _BS_COMMANDLINK = 0x0000000E // Windows Vista and newer and(/or?) comctl6 only -// _BS_DEFCOMMANDLINK = 0x0000000F // Windows Vista and newer and(/or?) comctl6 only +// _BS_DEFCOMMANDLINK = 0x0000000F // Windows Vista and newer and(/or?) comctl6 only +) + +// Button messages. +// TODO check if any are not defined on Windows 2000 +const ( + // from winuser.h + _BM_GETCHECK = 0x00F0 + _BM_SETCHECK = 0x00F1 + _BM_GETSTATE = 0x00F2 + _BM_SETSTATE = 0x00F3 + _BM_SETSTYLE = 0x00F4 + _BM_CLICK = 0x00F5 + _BM_GETIMAGE = 0x00F6 + _BM_SETIMAGE = 0x00F7 + _BM_SETDONTCLICK = 0x00F8 ) // Button WM_COMMAND notifications. |
