Documentation ¶
Index ¶
- Constants
- type HDHITTESTINFO
- type HDITEM
- type HDLAYOUT
- type HTREEITEM
- type LHITTESTINFO
- type LITEM
- type LVCOLUMN
- type LVHITTESTINFO
- type LVITEM
- type NMDATETIMECHANGE
- type NMDATETIMEFORMAT
- type NMDATETIMEFORMATQUERY
- type NMDATETIMESTRING
- type NMDATETIMEWMKEYDOWN
- type NMITEMACTIVATE
- type NMLINK
- type NMLISTVIEW
- type NMLVCUSTOMDRAW
- type NMLVDISPINFO
- type NMLVSCROLL
- type NMMOUSE
- type NMTCKEYDOWN
- type NMTOOLBAR
- type NMTREEVIEW
- type NMTVDISPINFO
- type NMTVKEYDOWN
- type NMUPDOWN
- type TBBUTTON
- type TBBUTTONINFO
- type TBMETRICS
- type TCHITTESTINFO
- type TCITEM
- type TCITEMHEADER
- type TOOLINFO
- type TTGETTITLE
- type TVHITTESTINFO
- type TVINSERTSTRUCT
- type TVITEM
- type UDACCEL
Constants ¶
const ( CB_OKAY = 0 CB_ERR = ^uintptr(0) // -1 CB_ERRSPACE = ^uintptr(1) // -2 )
ComboBox return values
const ( CBN_ERRSPACE = -1 CBN_SELCHANGE = 1 CBN_DBLCLK = 2 CBN_SETFOCUS = 3 CBN_KILLFOCUS = 4 CBN_EDITCHANGE = 5 CBN_EDITUPDATE = 6 CBN_DROPDOWN = 7 CBN_CLOSEUP = 8 CBN_SELENDOK = 9 CBN_SELENDCANCEL = 10 )
ComboBox notifications
const ( CBS_SIMPLE = 0x0001 CBS_DROPDOWN = 0x0002 CBS_DROPDOWNLIST = 0x0003 CBS_OWNERDRAWFIXED = 0x0010 CBS_OWNERDRAWVARIABLE = 0x0020 CBS_AUTOHSCROLL = 0x0040 CBS_OEMCONVERT = 0x0080 CBS_SORT = 0x0100 CBS_HASSTRINGS = 0x0200 CBS_NOINTEGRALHEIGHT = 0x0400 CBS_DISABLENOSCROLL = 0x0800 CBS_UPPERCASE = 0x2000 CBS_LOWERCASE = 0x4000 )
ComboBox styles
const ( CB_GETEDITSEL = 0x0140 CB_LIMITTEXT = 0x0141 CB_SETEDITSEL = 0x0142 CB_ADDSTRING = 0x0143 CB_DELETESTRING = 0x0144 CB_DIR = 0x0145 CB_GETCOUNT = 0x0146 CB_GETCURSEL = 0x0147 CB_GETLBTEXT = 0x0148 CB_GETLBTEXTLEN = 0x0149 CB_INSERTSTRING = 0x014A CB_RESETCONTENT = 0x014B CB_FINDSTRING = 0x014C CB_SELECTSTRING = 0x014D CB_SETCURSEL = 0x014E CB_SHOWDROPDOWN = 0x014F CB_GETITEMDATA = 0x0150 CB_SETITEMDATA = 0x0151 CB_GETDROPPEDCONTROLRECT = 0x0152 CB_SETITEMHEIGHT = 0x0153 CB_GETITEMHEIGHT = 0x0154 CB_SETEXTENDEDUI = 0x0155 CB_GETEXTENDEDUI = 0x0156 CB_GETDROPPEDSTATE = 0x0157 CB_FINDSTRINGEXACT = 0x0158 CB_SETLOCALE = 0x0159 CB_GETLOCALE = 0x015A CB_GETTOPINDEX = 0x015b CB_SETTOPINDEX = 0x015c CB_GETHORIZONTALEXTENT = 0x015d CB_SETHORIZONTALEXTENT = 0x015e CB_GETDROPPEDWIDTH = 0x015f CB_SETDROPPEDWIDTH = 0x0160 CB_INITSTORAGE = 0x0161 CB_MULTIPLEADDSTRING = 0x0163 CB_GETCOMBOBOXINFO = 0x0164 )
ComboBox messages
const ( GDTR_MIN = 0x0001 GDTR_MAX = 0x0002 )
const ( GDT_ERROR = -1 GDT_VALID = 0 GDT_NONE = 1 )
const ( DTM_GETSYSTEMTIME = DTM_FIRST + 1 DTM_SETSYSTEMTIME = DTM_FIRST + 2 DTM_GETRANGE = DTM_FIRST + 3 DTM_SETRANGE = DTM_FIRST + 4 DTM_SETFORMAT = DTM_FIRST + 50 DTM_SETMCCOLOR = DTM_FIRST + 6 DTM_GETMCCOLOR = DTM_FIRST + 7 DTM_GETMONTHCAL = DTM_FIRST + 8 DTM_SETMCFONT = DTM_FIRST + 9 DTM_GETMCFONT = DTM_FIRST + 10 )
Messages
const ( DTS_UPDOWN = 0x0001 DTS_SHOWNONE = 0x0002 DTS_SHORTDATEFORMAT = 0x0000 DTS_LONGDATEFORMAT = 0x0004 DTS_SHORTDATECENTURYFORMAT = 0x000C DTS_TIMEFORMAT = 0x0009 DTS_APPCANPARSE = 0x0010 DTS_RIGHTALIGN = 0x0020 )
Styles
const ( DTN_DATETIMECHANGE = DTN_FIRST2 - 6 DTN_USERSTRING = DTN_FIRST - 5 DTN_WMKEYDOWN = DTN_FIRST - 4 DTN_FORMAT = DTN_FIRST - 3 DTN_FORMATQUERY = DTN_FIRST - 2 DTN_DROPDOWN = DTN_FIRST2 - 1 DTN_CLOSEUP = DTN_FIRST2 )
Notifications
const ( HDI_WIDTH = 0x0001 HDI_HEIGHT = HDI_WIDTH HDI_TEXT = 0x0002 HDI_FORMAT = 0x0004 HDI_LPARAM = 0x0008 HDI_BITMAP = 0x0010 HDI_IMAGE = 0x0020 HDI_DI_SETITEM = 0x0040 HDI_ORDER = 0x0080 HDI_FILTER = 0x0100 HDI_STATE = 0x0200 )
const ( HDF_LEFT = 0x0000 HDF_RIGHT = 0x0001 HDF_CENTER = 0x0002 HDF_JUSTIFYMASK = 0x0003 HDF_RTLREADING = 0x0004 HDF_CHECKBOX = 0x0040 HDF_CHECKED = 0x0080 HDF_FIXEDWIDTH = 0x0100 HDF_SORTDOWN = 0x0200 HDF_SORTUP = 0x0400 HDF_IMAGE = 0x0800 HDF_BITMAP_ON_RIGHT = 0x1000 HDF_BITMAP = 0x2000 HDF_STRING = 0x4000 HDF_OWNERDRAW = 0x8000 HDF_SPLITBUTTON = 0x1000000 )
const ( HDM_FIRST = 0x1200 HDM_GETITEMCOUNT = HDM_FIRST + 0 HDM_DELETEITEM = HDM_FIRST + 2 HDM_LAYOUT = HDM_FIRST + 5 HDM_HITTEST = HDM_FIRST + 6 HDM_GETITEMRECT = HDM_FIRST + 7 HDM_SETIMAGELIST = HDM_FIRST + 8 HDM_GETIMAGELIST = HDM_FIRST + 9 HDM_INSERTITEM = HDM_FIRST + 10 HDM_GETITEM = HDM_FIRST + 11 HDM_SETITEM = HDM_FIRST + 12 HDM_ORDERTOINDEX = HDM_FIRST + 15 HDM_CREATEDRAGIMAGE = HDM_FIRST + 16 HDM_GETORDERARRAY = HDM_FIRST + 17 HDM_SETORDERARRAY = HDM_FIRST + 18 HDM_SETHOTDIVIDER = HDM_FIRST + 19 HDM_SETBITMAPMARGIN = HDM_FIRST + 20 HDM_GETBITMAPMARGIN = HDM_FIRST + 21 HDM_SETFILTERCHANGETIMEOUT = HDM_FIRST + 22 HDM_EDITFILTER = HDM_FIRST + 23 HDM_CLEARFILTER = HDM_FIRST + 24 HDM_GETITEMDROPDOWNRECT = HDM_FIRST + 25 HDM_GETOVERFLOWRECT = HDM_FIRST + 26 HDM_GETFOCUSEDITEM = HDM_FIRST + 27 HDM_SETFOCUSEDITEM = HDM_FIRST + 28 HDM_SETUNICODEFORMAT = comctl32.CCM_SETUNICODEFORMAT HDM_GETUNICODEFORMAT = comctl32.CCM_GETUNICODEFORMAT )
const ( HHT_NOWHERE = 0x0001 HHT_ONHEADER = 0x0002 HHT_ONDIVIDER = 0x0004 HHT_ONDIVOPEN = 0x0008 HHT_ONFILTER = 0x0010 HHT_ONFILTERBUTTON = 0x0020 HHT_ABOVE = 0x0100 HHT_BELOW = 0x0200 HHT_TORIGHT = 0x0400 HHT_TOLEFT = 0x0800 HHT_ONITEMSTATEICON = 0x1000 HHT_ONDROPDOWN = 0x2000 HHT_ONOVERFLOW = 0x4000 )
const ( HDN_FIRST = ^uint32(300) HDN_BEGINDRAG = HDN_FIRST - 10 HDN_ENDDRAG = HDN_FIRST - 11 HDN_FILTERCHANGE = HDN_FIRST - 12 HDN_FILTERBTNCLICK = HDN_FIRST - 13 HDN_BEGINFILTEREDIT = HDN_FIRST - 14 HDN_ENDFILTEREDIT = HDN_FIRST - 15 HDN_ITEMSTATEICONCLICK = HDN_FIRST - 16 HDN_ITEMKEYDOWN = HDN_FIRST - 17 HDN_DROPDOWN = HDN_FIRST - 18 HDN_OVERFLOWCLICK = HDN_FIRST - 19 HDN_ITEMCHANGING = HDN_FIRST - 20 HDN_ITEMCHANGED = HDN_FIRST - 21 HDN_ITEMCLICK = HDN_FIRST - 22 HDN_ITEMDBLCLICK = HDN_FIRST - 23 HDN_DIVIDERDBLCLICK = HDN_FIRST - 25 HDN_BEGINTRACK = HDN_FIRST - 26 HDN_ENDTRACK = HDN_FIRST - 27 HDN_TRACK = HDN_FIRST - 28 HDN_GETDISPINFO = HDN_FIRST - 29 )
const ( LVSCW_AUTOSIZE = ^uintptr(0) LVSCW_AUTOSIZE_USEHEADER = ^uintptr(1) )
const ( LVSICF_NOINVALIDATEALL = 0x0001 LVSICF_NOSCROLL = 0x0002 )
LVM_SETITEMCOUNT flags
const ( LVM_FIRST = 0x1000 LVM_SETBKCOLOR = LVM_FIRST + 1 LVM_SETIMAGELIST = LVM_FIRST + 3 LVM_GETITEM = LVM_FIRST + 75 LVM_SETITEM = LVM_FIRST + 76 LVM_INSERTITEM = LVM_FIRST + 77 LVM_DELETEITEM = LVM_FIRST + 8 LVM_DELETEALLITEMS = LVM_FIRST + 9 LVM_GETCALLBACKMASK = LVM_FIRST + 10 LVM_SETCALLBACKMASK = LVM_FIRST + 11 LVM_GETNEXTITEM = LVM_FIRST + 12 LVM_FINDITEM = LVM_FIRST + 83 LVM_GETITEMRECT = LVM_FIRST + 14 LVM_GETSTRINGWIDTH = LVM_FIRST + 87 LVM_HITTEST = LVM_FIRST + 18 LVM_ENSUREVISIBLE = LVM_FIRST + 19 LVM_SCROLL = LVM_FIRST + 20 LVM_REDRAWITEMS = LVM_FIRST + 21 LVM_ARRANGE = LVM_FIRST + 22 LVM_EDITLABEL = LVM_FIRST + 118 LVM_GETEDITCONTROL = LVM_FIRST + 24 LVM_GETCOLUMN = LVM_FIRST + 95 LVM_SETCOLUMN = LVM_FIRST + 96 LVM_INSERTCOLUMN = LVM_FIRST + 97 LVM_DELETECOLUMN = LVM_FIRST + 28 LVM_GETCOLUMNWIDTH = LVM_FIRST + 29 LVM_SETCOLUMNWIDTH = LVM_FIRST + 30 LVM_GETHEADER = LVM_FIRST + 31 LVM_CREATEDRAGIMAGE = LVM_FIRST + 33 LVM_GETVIEWRECT = LVM_FIRST + 34 LVM_GETTEXTCOLOR = LVM_FIRST + 35 LVM_SETTEXTCOLOR = LVM_FIRST + 36 LVM_GETTEXTBKCOLOR = LVM_FIRST + 37 LVM_SETTEXTBKCOLOR = LVM_FIRST + 38 LVM_GETTOPINDEX = LVM_FIRST + 39 LVM_GETCOUNTPERPAGE = LVM_FIRST + 40 LVM_GETORIGIN = LVM_FIRST + 41 LVM_UPDATE = LVM_FIRST + 42 LVM_SETITEMSTATE = LVM_FIRST + 43 LVM_GETITEMSTATE = LVM_FIRST + 44 LVM_GETITEMTEXT = LVM_FIRST + 115 LVM_SETITEMTEXT = LVM_FIRST + 116 LVM_SETITEMCOUNT = LVM_FIRST + 47 LVM_SORTITEMS = LVM_FIRST + 48 LVM_SETITEMPOSITION32 = LVM_FIRST + 49 LVM_GETSELECTEDCOUNT = LVM_FIRST + 50 LVM_GETITEMSPACING = LVM_FIRST + 51 LVM_GETISEARCHSTRING = LVM_FIRST + 117 LVM_SETICONSPACING = LVM_FIRST + 53 LVM_SETEXTENDEDLISTVIEWSTYLE = LVM_FIRST + 54 LVM_GETEXTENDEDLISTVIEWSTYLE = LVM_FIRST + 55 LVM_GETSUBITEMRECT = LVM_FIRST + 56 LVM_SUBITEMHITTEST = LVM_FIRST + 57 LVM_SETCOLUMNORDERARRAY = LVM_FIRST + 58 LVM_GETCOLUMNORDERARRAY = LVM_FIRST + 59 LVM_SETHOTITEM = LVM_FIRST + 60 LVM_GETHOTITEM = LVM_FIRST + 61 LVM_SETHOTCURSOR = LVM_FIRST + 62 LVM_GETHOTCURSOR = LVM_FIRST + 63 LVM_APPROXIMATEVIEWRECT = LVM_FIRST + 64 LVM_SETWORKAREAS = LVM_FIRST + 65 LVM_GETWORKAREAS = LVM_FIRST + 70 LVM_GETNUMBEROFWORKAREAS = LVM_FIRST + 73 LVM_GETSELECTIONMARK = LVM_FIRST + 66 LVM_SETSELECTIONMARK = LVM_FIRST + 67 LVM_SETHOVERTIME = LVM_FIRST + 71 LVM_GETHOVERTIME = LVM_FIRST + 72 LVM_SETTOOLTIPS = LVM_FIRST + 74 LVM_GETTOOLTIPS = LVM_FIRST + 78 LVM_SORTITEMSEX = LVM_FIRST + 81 LVM_SETBKIMAGE = LVM_FIRST + 138 LVM_GETBKIMAGE = LVM_FIRST + 139 LVM_SETSELECTEDCOLUMN = LVM_FIRST + 140 LVM_SETVIEW = LVM_FIRST + 142 LVM_GETVIEW = LVM_FIRST + 143 LVM_INSERTGROUP = LVM_FIRST + 145 LVM_SETGROUPINFO = LVM_FIRST + 147 LVM_GETGROUPINFO = LVM_FIRST + 149 LVM_REMOVEGROUP = LVM_FIRST + 150 LVM_MOVEGROUP = LVM_FIRST + 151 LVM_GETGROUPCOUNT = LVM_FIRST + 152 LVM_GETGROUPINFOBYINDEX = LVM_FIRST + 153 LVM_MOVEITEMTOGROUP = LVM_FIRST + 154 LVM_GETGROUPRECT = LVM_FIRST + 98 LVM_SETGROUPMETRICS = LVM_FIRST + 155 LVM_GETGROUPMETRICS = LVM_FIRST + 156 LVM_ENABLEGROUPVIEW = LVM_FIRST + 157 LVM_SORTGROUPS = LVM_FIRST + 158 LVM_INSERTGROUPSORTED = LVM_FIRST + 159 LVM_REMOVEALLGROUPS = LVM_FIRST + 160 LVM_HASGROUP = LVM_FIRST + 161 LVM_GETGROUPSTATE = LVM_FIRST + 92 LVM_GETFOCUSEDGROUP = LVM_FIRST + 93 LVM_SETTILEVIEWINFO = LVM_FIRST + 162 LVM_GETTILEVIEWINFO = LVM_FIRST + 163 LVM_SETTILEINFO = LVM_FIRST + 164 LVM_GETTILEINFO = LVM_FIRST + 165 LVM_SETINSERTMARK = LVM_FIRST + 166 LVM_GETINSERTMARK = LVM_FIRST + 167 LVM_INSERTMARKHITTEST = LVM_FIRST + 168 LVM_GETINSERTMARKRECT = LVM_FIRST + 169 LVM_SETINSERTMARKCOLOR = LVM_FIRST + 170 LVM_GETINSERTMARKCOLOR = LVM_FIRST + 171 LVM_SETINFOTIP = LVM_FIRST + 173 LVM_GETSELECTEDCOLUMN = LVM_FIRST + 174 LVM_ISGROUPVIEWENABLED = LVM_FIRST + 175 LVM_GETOUTLINECOLOR = LVM_FIRST + 176 LVM_SETOUTLINECOLOR = LVM_FIRST + 177 LVM_CANCELEDITLABEL = LVM_FIRST + 179 LVM_MAPINDEXTOID = LVM_FIRST + 180 LVM_MAPIDTOINDEX = LVM_FIRST + 181 LVM_ISITEMVISIBLE = LVM_FIRST + 182 LVM_GETNEXTITEMINDEX = LVM_FIRST + 211 )
ListView messages
const ( LVN_FIRST = ^uint32(99) // -100 LVN_ITEMCHANGING = LVN_FIRST - 0 LVN_ITEMCHANGED = LVN_FIRST - 1 LVN_INSERTITEM = LVN_FIRST - 2 LVN_DELETEITEM = LVN_FIRST - 3 LVN_DELETEALLITEMS = LVN_FIRST - 4 LVN_BEGINLABELEDIT = LVN_FIRST - 75 LVN_ENDLABELEDIT = LVN_FIRST - 76 LVN_COLUMNCLICK = LVN_FIRST - 8 LVN_BEGINDRAG = LVN_FIRST - 9 LVN_BEGINRDRAG = LVN_FIRST - 11 LVN_ODCACHEHINT = LVN_FIRST - 13 LVN_ODFINDITEM = LVN_FIRST - 79 LVN_ITEMACTIVATE = LVN_FIRST - 14 LVN_ODSTATECHANGED = LVN_FIRST - 15 LVN_HOTTRACK = LVN_FIRST - 21 LVN_GETDISPINFO = LVN_FIRST - 77 LVN_SETDISPINFO = LVN_FIRST - 78 LVN_KEYDOWN = LVN_FIRST - 55 LVN_MARQUEEBEGIN = LVN_FIRST - 56 LVN_GETINFOTIP = LVN_FIRST - 58 LVN_INCREMENTALSEARCH = LVN_FIRST - 63 LVN_BEGINSCROLL = LVN_FIRST - 80 LVN_ENDSCROLL = LVN_FIRST - 81 )
ListView notifications
const ( LVNI_ALL = 0 LVNI_FOCUSED = 1 LVNI_SELECTED = 2 LVNI_CUT = 4 LVNI_DROPHILITED = 8 LVNI_ABOVE = 256 LVNI_BELOW = 512 LVNI_TOLEFT = 1024 LVNI_TORIGHT = 2048 )
ListView LVNI constants
const ( LVS_ICON = 0x0000 LVS_REPORT = 0x0001 LVS_SMALLICON = 0x0002 LVS_LIST = 0x0003 LVS_TYPEMASK = 0x0003 LVS_SINGLESEL = 0x0004 LVS_SHOWSELALWAYS = 0x0008 LVS_SORTASCENDING = 0x0010 LVS_SORTDESCENDING = 0x0020 LVS_SHAREIMAGELISTS = 0x0040 LVS_NOLABELWRAP = 0x0080 LVS_AUTOARRANGE = 0x0100 LVS_EDITLABELS = 0x0200 LVS_OWNERDATA = 0x1000 LVS_NOSCROLL = 0x2000 LVS_TYPESTYLEMASK = 0xfc00 LVS_ALIGNTOP = 0x0000 LVS_ALIGNLEFT = 0x0800 LVS_ALIGNMASK = 0x0c00 LVS_OWNERDRAWFIXED = 0x0400 LVS_NOCOLUMNHEADER = 0x4000 LVS_NOSORTHEADER = 0x8000 )
ListView styles
const ( LVS_EX_GRIDLINES = 0x00000001 LVS_EX_SUBITEMIMAGES = 0x00000002 LVS_EX_CHECKBOXES = 0x00000004 LVS_EX_TRACKSELECT = 0x00000008 LVS_EX_HEADERDRAGDROP = 0x00000010 LVS_EX_FULLROWSELECT = 0x00000020 LVS_EX_ONECLICKACTIVATE = 0x00000040 LVS_EX_TWOCLICKACTIVATE = 0x00000080 LVS_EX_FLATSB = 0x00000100 LVS_EX_REGIONAL = 0x00000200 LVS_EX_INFOTIP = 0x00000400 LVS_EX_UNDERLINEHOT = 0x00000800 LVS_EX_UNDERLINECOLD = 0x00001000 LVS_EX_MULTIWORKAREAS = 0x00002000 LVS_EX_LABELTIP = 0x00004000 LVS_EX_BORDERSELECT = 0x00008000 LVS_EX_DOUBLEBUFFER = 0x00010000 LVS_EX_HIDELABELS = 0x00020000 LVS_EX_SINGLEROW = 0x00040000 LVS_EX_SNAPTOGRID = 0x00080000 LVS_EX_SIMPLESELECT = 0x00100000 )
ListView extended styles
const ( LVCF_FMT = 0x0001 LVCF_WIDTH = 0x0002 LVCF_TEXT = 0x0004 LVCF_SUBITEM = 0x0008 LVCF_IMAGE = 0x0010 LVCF_ORDER = 0x0020 )
ListView column flags
const ( LVCFMT_LEFT = 0x0000 LVCFMT_RIGHT = 0x0001 LVCFMT_CENTER = 0x0002 LVCFMT_JUSTIFYMASK = 0x0003 LVCFMT_IMAGE = 0x0800 LVCFMT_BITMAP_ON_RIGHT = 0x1000 LVCFMT_COL_HAS_IMAGES = 0x8000 )
ListView column format constants
const ( LVIF_TEXT = 0x00000001 LVIF_IMAGE = 0x00000002 LVIF_PARAM = 0x00000004 LVIF_STATE = 0x00000008 LVIF_INDENT = 0x00000010 LVIF_NORECOMPUTE = 0x00000800 LVIF_GROUPID = 0x00000100 LVIF_COLUMNS = 0x00000200 )
ListView item flags
const ( LVIS_FOCUSED = 1 LVIS_SELECTED = 2 LVIS_CUT = 4 LVIS_DROPHILITED = 8 LVIS_OVERLAYMASK = 0xF00 LVIS_STATEIMAGEMASK = 0xF000 )
ListView item states
const ( LVHT_NOWHERE = 0x00000001 LVHT_ONITEMICON = 0x00000002 LVHT_ONITEMLABEL = 0x00000004 LVHT_ONITEMSTATEICON = 0x00000008 LVHT_ONITEM = LVHT_ONITEMICON | LVHT_ONITEMLABEL | LVHT_ONITEMSTATEICON LVHT_ABOVE = 0x00000008 LVHT_BELOW = 0x00000010 LVHT_TORIGHT = 0x00000020 LVHT_TOLEFT = 0x00000040 )
ListView hit test constants
const ( LVSIL_NORMAL = 0 LVSIL_SMALL = 1 LVSIL_STATE = 2 LVSIL_GROUPHEADER = 3 )
ListView image list types
const ( SBARS_SIZEGRIP = 0x100 SBARS_TOOLTIPS = 0x800 )
Styles
const ( SB_SETPARTS = user32.WM_USER + 4 SB_GETPARTS = user32.WM_USER + 6 SB_GETBORDERS = user32.WM_USER + 7 SB_SETMINHEIGHT = user32.WM_USER + 8 SB_SIMPLE = user32.WM_USER + 9 SB_GETRECT = user32.WM_USER + 10 SB_SETTEXT = user32.WM_USER + 11 SB_GETTEXTLENGTH = user32.WM_USER + 12 SB_GETTEXT = user32.WM_USER + 13 SB_ISSIMPLE = user32.WM_USER + 14 SB_SETICON = user32.WM_USER + 15 SB_SETTIPTEXT = user32.WM_USER + 17 SB_GETTIPTEXT = user32.WM_USER + 19 SB_GETICON = user32.WM_USER + 20 SB_SETUNICODEFORMAT = comctl32.CCM_SETUNICODEFORMAT SB_GETUNICODEFORMAT = comctl32.CCM_GETUNICODEFORMAT SB_SETBKCOLOR = comctl32.CCM_SETBKCOLOR )
Messages
const ( SBT_NOBORDERS = 0x100 SBT_POPOUT = 0x200 SBT_RTLREADING = 0x400 SBT_NOTABPARSING = 0x800 SBT_OWNERDRAW = 0x1000 )
SB_SETTEXT options
const ( SBN_FIRST = -880 SBN_SIMPLEMODECHANGE = SBN_FIRST - 0 )
const ( INVALID_LINK_INDEX = -1 MAX_LINKID_TEXT = 48 L_MAX_URL_LENGTH = 2048 + 32 + len("://") WC_LINK = "SysLink" )
const ( LWS_TRANSPARENT = 0x0001 LWS_IGNORERETURN = 0x0002 LWS_NOPREFIX = 0x0004 LWS_USEVISUALSTYLE = 0x0008 LWS_USECUSTOMTEXT = 0x0010 LWS_RIGHT = 0x0020 )
const ( LIF_ITEMINDEX = 0x00000001 LIF_STATE = 0x00000002 LIF_ITEMID = 0x00000004 LIF_URL = 0x00000008 )
const ( LIS_FOCUSED = 0x00000001 LIS_ENABLED = 0x00000002 LIS_VISITED = 0x00000004 LIS_HOTTRACK = 0x00000008 LIS_DEFAULTCOLORS = 0x00000010 )
const ( LM_HITTEST = user32.WM_USER + 0x300 LM_GETIDEALHEIGHT = user32.WM_USER + 0x301 LM_SETITEM = user32.WM_USER + 0x302 LM_GETITEM = user32.WM_USER + 0x303 LM_GETIDEALSIZE = LM_GETIDEALHEIGHT )
const ( TCS_SCROLLOPPOSITE = 0x0001 TCS_BOTTOM = 0x0002 TCS_RIGHT = 0x0002 TCS_MULTISELECT = 0x0004 TCS_FLATBUTTONS = 0x0008 TCS_FORCEICONLEFT = 0x0010 TCS_FORCELABELLEFT = 0x0020 TCS_HOTTRACK = 0x0040 TCS_VERTICAL = 0x0080 TCS_TABS = 0x0000 TCS_BUTTONS = 0x0100 TCS_SINGLELINE = 0x0000 TCS_MULTILINE = 0x0200 TCS_RIGHTJUSTIFY = 0x0000 TCS_FIXEDWIDTH = 0x0400 TCS_RAGGEDRIGHT = 0x0800 TCS_FOCUSONBUTTONDOWN = 0x1000 TCS_OWNERDRAWFIXED = 0x2000 TCS_TOOLTIPS = 0x4000 TCS_FOCUSNEVER = 0x8000 )
const ( TCS_EX_FLATSEPARATORS = 0x00000001 TCS_EX_REGISTERDROP = 0x00000002 )
const ( TCM_GETIMAGELIST = TCM_FIRST + 2 TCM_SETIMAGELIST = TCM_FIRST + 3 TCM_GETITEMCOUNT = TCM_FIRST + 4 TCM_GETITEM = TCM_FIRST + 60 TCM_SETITEM = TCM_FIRST + 61 TCM_INSERTITEM = TCM_FIRST + 62 TCM_DELETEITEM = TCM_FIRST + 8 TCM_DELETEALLITEMS = TCM_FIRST + 9 TCM_GETITEMRECT = TCM_FIRST + 10 TCM_GETCURSEL = TCM_FIRST + 11 TCM_SETCURSEL = TCM_FIRST + 12 TCM_HITTEST = TCM_FIRST + 13 TCM_SETITEMEXTRA = TCM_FIRST + 14 TCM_ADJUSTRECT = TCM_FIRST + 40 TCM_SETITEMSIZE = TCM_FIRST + 41 TCM_REMOVEIMAGE = TCM_FIRST + 42 TCM_SETPADDING = TCM_FIRST + 43 TCM_GETROWCOUNT = TCM_FIRST + 44 TCM_GETTOOLTIPS = TCM_FIRST + 45 TCM_SETTOOLTIPS = TCM_FIRST + 46 TCM_GETCURFOCUS = TCM_FIRST + 47 TCM_SETCURFOCUS = TCM_FIRST + 48 TCM_SETMINTABWIDTH = TCM_FIRST + 49 TCM_DESELECTALL = TCM_FIRST + 50 TCM_HIGHLIGHTITEM = TCM_FIRST + 51 TCM_SETEXTENDEDSTYLE = TCM_FIRST + 52 TCM_GETEXTENDEDSTYLE = TCM_FIRST + 53 TCM_SETUNICODEFORMAT = comctl32.CCM_SETUNICODEFORMAT TCM_GETUNICODEFORMAT = comctl32.CCM_GETUNICODEFORMAT )
const ( TCIF_TEXT = 0x0001 TCIF_IMAGE = 0x0002 TCIF_RTLREADING = 0x0004 TCIF_PARAM = 0x0008 TCIF_STATE = 0x0010 )
const ( TCIS_BUTTONPRESSED = 0x0001 TCIS_HIGHLIGHTED = 0x0002 )
const ( TCHT_NOWHERE = 0x0001 TCHT_ONITEMICON = 0x0002 TCHT_ONITEMLABEL = 0x0004 TCHT_ONITEM = TCHT_ONITEMICON | TCHT_ONITEMLABEL )
const ( TCN_KEYDOWN = TCN_FIRST - 0 TCN_SELCHANGE = TCN_FIRST - 1 TCN_SELCHANGING = TCN_FIRST - 2 TCN_GETOBJECT = TCN_FIRST - 3 TCN_FOCUSCHANGE = TCN_FIRST - 4 )
const ( TB_THUMBPOSITION = 4 TB_THUMBTRACK = 5 TB_ENDTRACK = 8 TB_ENABLEBUTTON = user32.WM_USER + 1 TB_CHECKBUTTON = user32.WM_USER + 2 TB_PRESSBUTTON = user32.WM_USER + 3 TB_HIDEBUTTON = user32.WM_USER + 4 TB_INDETERMINATE = user32.WM_USER + 5 TB_MARKBUTTON = user32.WM_USER + 6 TB_ISBUTTONENABLED = user32.WM_USER + 9 TB_ISBUTTONCHECKED = user32.WM_USER + 10 TB_ISBUTTONPRESSED = user32.WM_USER + 11 TB_ISBUTTONHIDDEN = user32.WM_USER + 12 TB_ISBUTTONINDETERMINATE = user32.WM_USER + 13 TB_ISBUTTONHIGHLIGHTED = user32.WM_USER + 14 TB_SETSTATE = user32.WM_USER + 17 TB_GETSTATE = user32.WM_USER + 18 TB_ADDBITMAP = user32.WM_USER + 19 TB_DELETEBUTTON = user32.WM_USER + 22 TB_GETBUTTON = user32.WM_USER + 23 TB_BUTTONCOUNT = user32.WM_USER + 24 TB_COMMANDTOINDEX = user32.WM_USER + 25 TB_SAVERESTORE = user32.WM_USER + 76 TB_CUSTOMIZE = user32.WM_USER + 27 TB_ADDSTRING = user32.WM_USER + 77 TB_GETITEMRECT = user32.WM_USER + 29 TB_BUTTONSTRUCTSIZE = user32.WM_USER + 30 TB_SETBUTTONSIZE = user32.WM_USER + 31 TB_SETBITMAPSIZE = user32.WM_USER + 32 TB_AUTOSIZE = user32.WM_USER + 33 TB_GETTOOLTIPS = user32.WM_USER + 35 TB_SETTOOLTIPS = user32.WM_USER + 36 TB_SETPARENT = user32.WM_USER + 37 TB_SETROWS = user32.WM_USER + 39 TB_GETROWS = user32.WM_USER + 40 TB_GETBITMAPFLAGS = user32.WM_USER + 41 TB_SETCMDID = user32.WM_USER + 42 TB_CHANGEBITMAP = user32.WM_USER + 43 TB_GETBITMAP = user32.WM_USER + 44 TB_GETBUTTONTEXT = user32.WM_USER + 75 TB_REPLACEBITMAP = user32.WM_USER + 46 TB_GETBUTTONSIZE = user32.WM_USER + 58 TB_SETBUTTONWIDTH = user32.WM_USER + 59 TB_SETINDENT = user32.WM_USER + 47 TB_SETIMAGELIST = user32.WM_USER + 48 TB_GETIMAGELIST = user32.WM_USER + 49 TB_LOADIMAGES = user32.WM_USER + 50 TB_GETRECT = user32.WM_USER + 51 TB_SETHOTIMAGELIST = user32.WM_USER + 52 TB_GETHOTIMAGELIST = user32.WM_USER + 53 TB_SETDISABLEDIMAGELIST = user32.WM_USER + 54 TB_GETDISABLEDIMAGELIST = user32.WM_USER + 55 TB_SETSTYLE = user32.WM_USER + 56 TB_GETSTYLE = user32.WM_USER + 57 TB_SETMAXTEXTROWS = user32.WM_USER + 60 TB_GETTEXTROWS = user32.WM_USER + 61 TB_GETOBJECT = user32.WM_USER + 62 TB_GETBUTTONINFO = user32.WM_USER + 63 TB_SETBUTTONINFO = user32.WM_USER + 64 TB_INSERTBUTTON = user32.WM_USER + 67 TB_ADDBUTTONS = user32.WM_USER + 68 TB_HITTEST = user32.WM_USER + 69 TB_SETDRAWTEXTFLAGS = user32.WM_USER + 70 TB_GETHOTITEM = user32.WM_USER + 71 TB_SETHOTITEM = user32.WM_USER + 72 TB_SETANCHORHIGHLIGHT = user32.WM_USER + 73 TB_GETANCHORHIGHLIGHT = user32.WM_USER + 74 TB_GETINSERTMARK = user32.WM_USER + 79 TB_SETINSERTMARK = user32.WM_USER + 80 TB_INSERTMARKHITTEST = user32.WM_USER + 81 TB_MOVEBUTTON = user32.WM_USER + 82 TB_GETMAXSIZE = user32.WM_USER + 83 TB_SETEXTENDEDSTYLE = user32.WM_USER + 84 TB_GETEXTENDEDSTYLE = user32.WM_USER + 85 TB_GETPADDING = user32.WM_USER + 86 TB_SETPADDING = user32.WM_USER + 87 TB_SETINSERTMARKCOLOR = user32.WM_USER + 88 TB_GETINSERTMARKCOLOR = user32.WM_USER + 89 TB_MAPACCELERATOR = user32.WM_USER + 90 TB_GETSTRING = user32.WM_USER + 91 TB_GETIDEALSIZE = user32.WM_USER + 99 TB_GETMETRICS = user32.WM_USER + 101 TB_SETCOLORSCHEME = comctl32.CCM_SETCOLORSCHEME TB_GETCOLORSCHEME = comctl32.CCM_GETCOLORSCHEME TB_SETUNICODEFORMAT = comctl32.CCM_SETUNICODEFORMAT TB_GETUNICODEFORMAT = comctl32.CCM_GETUNICODEFORMAT )
const ( TBN_FIRST = -700 TBN_DROPDOWN = TBN_FIRST - 10 )
ToolBar notifications
const ( TBDDRET_DEFAULT = 0 TBDDRET_NODEFAULT = 1 TBDDRET_TREATPRESSED = 2 )
TBN_DROPDOWN return codes
const ( TBSTATE_CHECKED = 1 TBSTATE_PRESSED = 2 TBSTATE_ENABLED = 4 TBSTATE_HIDDEN = 8 TBSTATE_INDETERMINATE = 16 TBSTATE_WRAP = 32 TBSTATE_ELLIPSES = 0x40 TBSTATE_MARKED = 0x0080 )
ToolBar state constants
const ( TBSTYLE_BUTTON = 0 TBSTYLE_SEP = 1 TBSTYLE_CHECK = 2 TBSTYLE_GROUP = 4 TBSTYLE_CHECKGROUP = TBSTYLE_GROUP | TBSTYLE_CHECK TBSTYLE_DROPDOWN = 8 TBSTYLE_AUTOSIZE = 16 TBSTYLE_NOPREFIX = 32 TBSTYLE_TOOLTIPS = 256 TBSTYLE_WRAPABLE = 512 TBSTYLE_ALTDRAG = 1024 TBSTYLE_FLAT = 2048 TBSTYLE_LIST = 4096 TBSTYLE_CUSTOMERASE = 8192 TBSTYLE_REGISTERDROP = 0x4000 TBSTYLE_TRANSPARENT = 0x8000 )
ToolBar style constants
const ( TBSTYLE_EX_DRAWDDARROWS = 0x00000001 TBSTYLE_EX_MIXEDBUTTONS = 8 TBSTYLE_EX_HIDECLIPPEDBUTTONS = 16 TBSTYLE_EX_DOUBLEBUFFER = 0x80 )
ToolBar extended style constants
const ( BTNS_BUTTON = TBSTYLE_BUTTON BTNS_SEP = TBSTYLE_SEP BTNS_CHECK = TBSTYLE_CHECK BTNS_GROUP = TBSTYLE_GROUP BTNS_CHECKGROUP = TBSTYLE_CHECKGROUP BTNS_DROPDOWN = TBSTYLE_DROPDOWN BTNS_AUTOSIZE = TBSTYLE_AUTOSIZE BTNS_NOPREFIX = TBSTYLE_NOPREFIX BTNS_WHOLEDROPDOWN = 0x0080 BTNS_SHOWTEXT = 0x0040 )
ToolBar button style constants
const ( TBIF_IMAGE = 0x00000001 TBIF_TEXT = 0x00000002 TBIF_STATE = 0x00000004 TBIF_STYLE = 0x00000008 TBIF_LPARAM = 0x00000010 TBIF_COMMAND = 0x00000020 TBIF_SIZE = 0x00000040 TBIF_BYINDEX = 0x80000000 )
TBBUTTONINFO mask flags
const ( TBMF_PAD = 0x00000001 TBMF_BARPAD = 0x00000002 TBMF_BUTTONSPACING = 0x00000004 )
TBMETRICS mask flags
const ( TTS_ALWAYSTIP = 0x01 TTS_NOPREFIX = 0x02 TTS_NOANIMATE = 0x10 TTS_NOFADE = 0x20 TTS_BALLOON = 0x40 TTS_CLOSE = 0x80 )
ToolTip styles
const ( TTM_ACTIVATE = user32.WM_USER + 1 TTM_SETDELAYTIME = user32.WM_USER + 3 TTM_ADDTOOL = user32.WM_USER + 50 TTM_DELTOOL = user32.WM_USER + 51 TTM_NEWTOOLRECT = user32.WM_USER + 52 TTM_RELAYEVENT = user32.WM_USER + 7 TTM_GETTOOLINFO = user32.WM_USER + 53 TTM_SETTOOLINFO = user32.WM_USER + 54 TTM_HITTEST = user32.WM_USER + 55 TTM_GETTEXT = user32.WM_USER + 56 TTM_UPDATETIPTEXT = user32.WM_USER + 57 TTM_GETTOOLCOUNT = user32.WM_USER + 13 TTM_ENUMTOOLS = user32.WM_USER + 58 TTM_GETCURRENTTOOL = user32.WM_USER + 59 TTM_WINDOWFROMPOINT = user32.WM_USER + 16 TTM_TRACKACTIVATE = user32.WM_USER + 17 TTM_TRACKPOSITION = user32.WM_USER + 18 TTM_SETTIPBKCOLOR = user32.WM_USER + 19 TTM_SETTIPTEXTCOLOR = user32.WM_USER + 20 TTM_GETDELAYTIME = user32.WM_USER + 21 TTM_GETTIPBKCOLOR = user32.WM_USER + 22 TTM_GETTIPTEXTCOLOR = user32.WM_USER + 23 TTM_SETMAXTIPWIDTH = user32.WM_USER + 24 TTM_GETMAXTIPWIDTH = user32.WM_USER + 25 TTM_SETMARGIN = user32.WM_USER + 26 TTM_GETMARGIN = user32.WM_USER + 27 TTM_POP = user32.WM_USER + 28 TTM_UPDATE = user32.WM_USER + 29 TTM_GETBUBBLESIZE = user32.WM_USER + 30 TTM_ADJUSTRECT = user32.WM_USER + 31 TTM_SETTITLE = user32.WM_USER + 33 TTM_POPUP = user32.WM_USER + 34 TTM_GETTITLE = user32.WM_USER + 35 )
ToolTip messages
const ( TTF_IDISHWND = 0x0001 TTF_CENTERTIP = 0x0002 TTF_RTLREADING = 0x0004 TTF_SUBCLASS = 0x0010 TTF_TRACK = 0x0020 TTF_ABSOLUTE = 0x0080 TTF_TRANSPARENT = 0x0100 TTF_DI_SETITEM = 0x8000 )
ToolTip flags
const ( TTI_NONE = 0 TTI_INFO = 1 TTI_WARNING = 2 TTI_ERROR = 3 )
ToolTip icons
const ( TVS_HASBUTTONS = 0x0001 TVS_HASLINES = 0x0002 TVS_LINESATROOT = 0x0004 TVS_EDITLABELS = 0x0008 TVS_DISABLEDRAGDROP = 0x0010 TVS_SHOWSELALWAYS = 0x0020 TVS_RTLREADING = 0x0040 TVS_NOTOOLTIPS = 0x0080 TVS_CHECKBOXES = 0x0100 TVS_TRACKSELECT = 0x0200 TVS_SINGLEEXPAND = 0x0400 TVS_INFOTIP = 0x0800 TVS_FULLROWSELECT = 0x1000 TVS_NOSCROLL = 0x2000 TVS_NONEVENHEIGHT = 0x4000 TVS_NOHSCROLL = 0x8000 )
TreeView styles
const ( TVS_EX_NOSINGLECOLLAPSE = 0x0001 TVS_EX_MULTISELECT = 0x0002 TVS_EX_DOUBLEBUFFER = 0x0004 TVS_EX_NOINDENTSTATE = 0x0008 TVS_EX_RICHTOOLTIP = 0x0010 TVS_EX_AUTOHSCROLL = 0x0020 TVS_EX_FADEINOUTEXPANDOS = 0x0040 TVS_EX_PARTIALCHECKBOXES = 0x0080 TVS_EX_EXCLUSIONCHECKBOXES = 0x0100 TVS_EX_DIMMEDCHECKBOXES = 0x0200 TVS_EX_DRAWIMAGEASYNC = 0x0400 )
const ( TVIF_TEXT = 0x0001 TVIF_IMAGE = 0x0002 TVIF_PARAM = 0x0004 TVIF_STATE = 0x0008 TVIF_HANDLE = 0x0010 TVIF_SELECTEDIMAGE = 0x0020 TVIF_CHILDREN = 0x0040 TVIF_INTEGRAL = 0x0080 TVIF_STATEEX = 0x0100 TVIF_EXPANDEDIMAGE = 0x0200 )
const ( TVIS_SELECTED = 0x0002 TVIS_CUT = 0x0004 TVIS_DROPHILITED = 0x0008 TVIS_BOLD = 0x0010 TVIS_EXPANDED = 0x0020 TVIS_EXPANDEDONCE = 0x0040 TVIS_EXPANDPARTIAL = 0x0080 TVIS_OVERLAYMASK = 0x0F00 TVIS_STATEIMAGEMASK = 0xF000 TVIS_USERMASK = 0xF000 )
const ( TVIS_EX_FLAT = 0x0001 TVIS_EX_DISABLED = 0x0002 TVIS_EX_ALL = 0x0002 )
const ( TVI_ROOT = ^HTREEITEM(0xffff) TVI_FIRST = ^HTREEITEM(0xfffe) TVI_LAST = ^HTREEITEM(0xfffd) TVI_SORT = ^HTREEITEM(0xfffc) )
const ( TVE_COLLAPSE = 0x0001 TVE_EXPAND = 0x0002 TVE_TOGGLE = 0x0003 TVE_EXPANDPARTIAL = 0x4000 TVE_COLLAPSERESET = 0x8000 )
TVM_EXPAND action flags
const ( TV_FIRST = 0x1100 TVM_INSERTITEM = TV_FIRST + 50 TVM_DELETEITEM = TV_FIRST + 1 TVM_EXPAND = TV_FIRST + 2 TVM_GETITEMRECT = TV_FIRST + 4 TVM_GETCOUNT = TV_FIRST + 5 TVM_GETINDENT = TV_FIRST + 6 TVM_SETINDENT = TV_FIRST + 7 TVM_GETIMAGELIST = TV_FIRST + 8 TVM_SETIMAGELIST = TV_FIRST + 9 TVM_GETNEXTITEM = TV_FIRST + 10 TVM_SELECTITEM = TV_FIRST + 11 TVM_GETITEM = TV_FIRST + 62 TVM_SETITEM = TV_FIRST + 63 TVM_EDITLABEL = TV_FIRST + 65 TVM_GETEDITCONTROL = TV_FIRST + 15 TVM_GETVISIBLECOUNT = TV_FIRST + 16 TVM_HITTEST = TV_FIRST + 17 TVM_CREATEDRAGIMAGE = TV_FIRST + 18 TVM_SORTCHILDREN = TV_FIRST + 19 TVM_ENSUREVISIBLE = TV_FIRST + 20 TVM_SORTCHILDRENCB = TV_FIRST + 21 TVM_ENDEDITLABELNOW = TV_FIRST + 22 TVM_GETISEARCHSTRING = TV_FIRST + 64 TVM_SETTOOLTIPS = TV_FIRST + 24 TVM_GETTOOLTIPS = TV_FIRST + 25 TVM_SETINSERTMARK = TV_FIRST + 26 TVM_SETUNICODEFORMAT = comctl32.CCM_SETUNICODEFORMAT TVM_GETUNICODEFORMAT = comctl32.CCM_GETUNICODEFORMAT TVM_SETITEMHEIGHT = TV_FIRST + 27 TVM_GETITEMHEIGHT = TV_FIRST + 28 TVM_SETBKCOLOR = TV_FIRST + 29 TVM_SETTEXTCOLOR = TV_FIRST + 30 TVM_GETBKCOLOR = TV_FIRST + 31 TVM_GETTEXTCOLOR = TV_FIRST + 32 TVM_SETSCROLLTIME = TV_FIRST + 33 TVM_GETSCROLLTIME = TV_FIRST + 34 TVM_SETINSERTMARKCOLOR = TV_FIRST + 37 TVM_GETINSERTMARKCOLOR = TV_FIRST + 38 TVM_GETITEMSTATE = TV_FIRST + 39 TVM_SETLINECOLOR = TV_FIRST + 40 TVM_GETLINECOLOR = TV_FIRST + 41 TVM_MAPACCIDTOHTREEITEM = TV_FIRST + 42 TVM_MAPHTREEITEMTOACCID = TV_FIRST + 43 TVM_SETEXTENDEDSTYLE = TV_FIRST + 44 TVM_GETEXTENDEDSTYLE = TV_FIRST + 45 TVM_SETAUTOSCROLLINFO = TV_FIRST + 59 )
TreeView messages
const ( TVN_FIRST = ^uint32(399) TVN_SELCHANGING = TVN_FIRST - 50 TVN_SELCHANGED = TVN_FIRST - 51 TVN_GETDISPINFO = TVN_FIRST - 52 TVN_ITEMEXPANDING = TVN_FIRST - 54 TVN_ITEMEXPANDED = TVN_FIRST - 55 TVN_BEGINDRAG = TVN_FIRST - 56 TVN_BEGINRDRAG = TVN_FIRST - 57 TVN_DELETEITEM = TVN_FIRST - 58 TVN_BEGINLABELEDIT = TVN_FIRST - 59 TVN_ENDLABELEDIT = TVN_FIRST - 60 TVN_KEYDOWN = TVN_FIRST - 12 TVN_GETINFOTIP = TVN_FIRST - 14 TVN_SINGLEEXPAND = TVN_FIRST - 15 TVN_ITEMCHANGING = TVN_FIRST - 17 TVN_ITEMCHANGED = TVN_FIRST - 19 TVN_ASYNCDRAW = TVN_FIRST - 20 )
TreeView notifications
const ( TVHT_NOWHERE = 1 TVHT_ONITEMICON = 2 TVHT_ONITEMLABEL = 4 TVHT_ONITEM = TVHT_ONITEMICON | TVHT_ONITEMLABEL | TVHT_ONITEMSTATEICON TVHT_ONITEMINDENT = 8 TVHT_ONITEMBUTTON = 16 TVHT_ONITEMRIGHT = 32 TVHT_ONITEMSTATEICON = 64 TVHT_ABOVE = 256 TVHT_BELOW = 512 TVHT_TORIGHT = 1024 TVHT_TOLEFT = 2048 )
TreeView hit test constants
const ( UD_MAXVAL = 0x7fff UD_MINVAL = ^uintptr(UD_MAXVAL - 1) )
const ( UDS_WRAP = 0x0001 UDS_SETBUDDYINT = 0x0002 UDS_ALIGNRIGHT = 0x0004 UDS_ALIGNLEFT = 0x0008 UDS_AUTOBUDDY = 0x0010 UDS_ARROWKEYS = 0x0020 UDS_HORZ = 0x0040 UDS_NOTHOUSANDS = 0x0080 UDS_HOTTRACK = 0x0100 )
const ( UDM_SETRANGE = user32.WM_USER + 101 UDM_GETRANGE = user32.WM_USER + 102 UDM_SETPOS = user32.WM_USER + 103 UDM_GETPOS = user32.WM_USER + 104 UDM_SETBUDDY = user32.WM_USER + 105 UDM_GETBUDDY = user32.WM_USER + 106 UDM_SETACCEL = user32.WM_USER + 107 UDM_GETACCEL = user32.WM_USER + 108 UDM_SETBASE = user32.WM_USER + 109 UDM_GETBASE = user32.WM_USER + 110 UDM_SETRANGE32 = user32.WM_USER + 111 UDM_GETRANGE32 = user32.WM_USER + 112 UDM_SETUNICODEFORMAT = comctl32.CCM_SETUNICODEFORMAT UDM_GETUNICODEFORMAT = comctl32.CCM_GETUNICODEFORMAT UDM_SETPOS32 = user32.WM_USER + 113 UDM_GETPOS32 = user32.WM_USER + 114 )
const DTM_FIRST = 0x1000
const DTN_FIRST = ^uint32(739) // -740
const DTN_FIRST2 = ^uint32(752) // -753
const (
HDIS_FOCUSED = 0x00000001
)
const (
HDS_NOSIZING = 0x0800
)
const SB_SIMPLEID = 0xff
const TCM_FIRST = 0x1300
const TCN_FIRST = -550
const (
TVGN_CARET = 9
)
const UDN_DELTAPOS = UDN_FIRST - 1
const UDN_FIRST = ^uint32(720)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LHITTESTINFO ¶
type LITEM ¶
type LITEM struct { Mask uint32 ILink int32 State uint32 StateMask uint32 SzID [MAX_LINKID_TEXT]uint16 SzUrl [L_MAX_URL_LENGTH]uint16 }
type LVHITTESTINFO ¶
type NMDATETIMECHANGE ¶
type NMDATETIMECHANGE struct { Nmhdr user32.NMHDR DwFlags uint32 St kernel32.SYSTEMTIME }
type NMDATETIMEFORMAT ¶
type NMDATETIMEFORMATQUERY ¶
type NMDATETIMESTRING ¶
type NMDATETIMEWMKEYDOWN ¶
type NMITEMACTIVATE ¶
type NMLISTVIEW ¶
type NMLVCUSTOMDRAW ¶
type NMLVDISPINFO ¶
type NMTREEVIEW ¶
type NMTVDISPINFO ¶
type TBBUTTONINFO ¶
type TCHITTESTINFO ¶
type TCITEMHEADER ¶
type TTGETTITLE ¶
type TVINSERTSTRUCT ¶
Source Files ¶
- commctrl_combobox_const.go
- commctrl_const copy 2.go
- commctrl_datetimepicker_const.go
- commctrl_datetimepicker_type.go
- commctrl_header_const.go
- commctrl_header_type.go
- commctrl_listview_const.go
- commctrl_listview_type.go
- commctrl_statusbar_const.go
- commctrl_syslink_const.go
- commctrl_syslink_type.go
- commctrl_tab_const.go
- commctrl_tab_type.go
- commctrl_toobar_const.go
- commctrl_toobar_type.go
- commctrl_tooltip_const.go
- commctrl_tooltip_type.go
- commctrl_treeview_const.go
- commctrl_treeview_type.go
- commctrl_updown_const.go
- commctrl_updown_type.go