zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commctrl.rh (6555B) - Raw


      1 /**
      2  * This file is part of the mingw-w64 runtime package.
      3  * No warranty is given; refer to the file DISCLAIMER within this package.
      4  */
      5 
      6 #define HDS_HORZ 0x0
      7 #define HDS_BUTTONS 0x2
      8 #define HDS_HOTTRACK 0x4
      9 #define HDS_HIDDEN 0x8
     10 #define HDS_DRAGDROP 0x40
     11 #define HDS_FULLDRAG 0x80
     12 #define HDS_FILTERBAR 0x100
     13 #define HDS_FLAT 0x200
     14 #if NTDDI_VERSION >= 0x06000000
     15 #define HDS_CHECKBOXES 0x400
     16 #define HDS_NOSIZING 0x800
     17 #define HDS_OVERFLOW 0x1000
     18 #endif
     19 
     20 #define TBSTYLE_BUTTON 0x0
     21 #define TBSTYLE_SEP 0x1
     22 #define TBSTYLE_CHECK 0x2
     23 #define TBSTYLE_GROUP 0x4
     24 #define TBSTYLE_CHECKGROUP (TBSTYLE_GROUP | TBSTYLE_CHECK)
     25 #define TBSTYLE_DROPDOWN 0x8
     26 #define TBSTYLE_AUTOSIZE 0x10
     27 #define TBSTYLE_NOPREFIX 0x20
     28 #define TBSTYLE_TOOLTIPS 0x100
     29 #define TBSTYLE_WRAPABLE 0x200
     30 #define TBSTYLE_ALTDRAG 0x400
     31 #define TBSTYLE_FLAT 0x800
     32 #define TBSTYLE_LIST 0x1000
     33 #define TBSTYLE_CUSTOMERASE 0x2000
     34 #define TBSTYLE_REGISTERDROP 0x4000
     35 #define TBSTYLE_TRANSPARENT 0x8000
     36 
     37 #define BTNS_BUTTON TBSTYLE_BUTTON
     38 #define BTNS_SEP TBSTYLE_SEP
     39 #define BTNS_CHECK TBSTYLE_CHECK
     40 #define BTNS_GROUP TBSTYLE_GROUP
     41 #define BTNS_CHECKGROUP TBSTYLE_CHECKGROUP
     42 #define BTNS_DROPDOWN TBSTYLE_DROPDOWN
     43 #define BTNS_AUTOSIZE TBSTYLE_AUTOSIZE
     44 #define BTNS_NOPREFIX TBSTYLE_NOPREFIX
     45 #define BTNS_SHOWTEXT 0x40
     46 #define BTNS_WHOLEDROPDOWN 0x80
     47 
     48 #define RBS_TOOLTIPS 0x100
     49 #define RBS_VARHEIGHT 0x200
     50 #define RBS_BANDBORDERS 0x400
     51 #define RBS_FIXEDORDER 0x800
     52 #define RBS_REGISTERDROP 0x1000
     53 #define RBS_AUTOSIZE 0x2000
     54 #define RBS_VERTICALGRIPPER 0x4000
     55 #define RBS_DBLCLKTOGGLE 0x8000
     56 
     57 #define TTS_ALWAYSTIP 0x1
     58 #define TTS_NOPREFIX 0x2
     59 #define TTS_NOANIMATE 0x10
     60 #define TTS_NOFADE 0x20
     61 #define TTS_BALLOON 0x40
     62 #define TTS_CLOSE 0x80
     63 #if NTDDI_VERSION >= 0x06000000
     64 #define TTS_USEVISUALSTYLE 0x100
     65 #endif
     66 
     67 #define SBARS_SIZEGRIP 0x100
     68 #define SBARS_TOOLTIPS 0x800
     69 
     70 #define SBT_TOOLTIPS 0x800
     71 
     72 #define TBS_AUTOTICKS 0x1
     73 #define TBS_VERT 0x2
     74 #define TBS_HORZ 0x0
     75 #define TBS_TOP 0x4
     76 #define TBS_BOTTOM 0x0
     77 #define TBS_LEFT 0x4
     78 #define TBS_RIGHT 0x0
     79 #define TBS_BOTH 0x8
     80 #define TBS_NOTICKS 0x10
     81 #define TBS_ENABLESELRANGE 0x20
     82 #define TBS_FIXEDLENGTH 0x40
     83 #define TBS_NOTHUMB 0x80
     84 #define TBS_TOOLTIPS 0x100
     85 #define TBS_REVERSED 0x200
     86 #define TBS_DOWNISLEFT 0x400
     87 #if _WIN32_IE >= 0x0600
     88 #define TBS_NOTIFYBEFOREMOVE 0x800
     89 #endif
     90 #if NTDDI_VERSION >= 0x06000000
     91 #define TBS_TRANSPARENTBKGND 0x1000
     92 #endif
     93 
     94 #define UDS_WRAP 0x1
     95 #define UDS_SETBUDDYINT 0x2
     96 #define UDS_ALIGNRIGHT 0x4
     97 #define UDS_ALIGNLEFT 0x8
     98 #define UDS_AUTOBUDDY 0x10
     99 #define UDS_ARROWKEYS 0x20
    100 #define UDS_HORZ 0x0040
    101 #define UDS_NOTHOUSANDS 0x80
    102 #define UDS_HOTTRACK 0x100
    103 
    104 #define PBS_SMOOTH 0x1
    105 #define PBS_VERTICAL 0x4
    106 #define PBS_MARQUEE 0x8
    107 #if NTDDI_VERSION >= 0x06000000
    108 #define PBS_SMOOTHREVERSE 0x10
    109 #endif
    110 
    111 #define CCS_TOP 0x1L
    112 #define CCS_NOMOVEY 0x2L
    113 #define CCS_BOTTOM 0x3L
    114 #define CCS_NORESIZE 0x4L
    115 #define CCS_NOPARENTALIGN 0x8L
    116 #define CCS_ADJUSTABLE 0x20L
    117 #define CCS_NODIVIDER 0x40L
    118 #define CCS_VERT 0x80L
    119 #define CCS_LEFT (CCS_VERT | CCS_TOP)
    120 #define CCS_RIGHT (CCS_VERT | CCS_BOTTOM)
    121 #define CCS_NOMOVEX (CCS_VERT | CCS_NOMOVEY)
    122 
    123 #define LWS_TRANSPARENT 0x1
    124 #define LWS_IGNORERETURN 0x2
    125 #if NTDDI_VERSION >= 0x06000000
    126 #define LWS_NOPREFIX 0x4
    127 #define LWS_USEVISUALSTYLE 0x8
    128 #define LWS_USECUSTOMTEXT 0x10
    129 #define LWS_RIGHT 0x20
    130 #endif
    131 
    132 #define LVS_ICON 0x0
    133 #define LVS_REPORT 0x1
    134 #define LVS_SMALLICON 0x2
    135 #define LVS_LIST 0x3
    136 #define LVS_TYPEMASK 0x3
    137 #define LVS_SINGLESEL 0x4
    138 #define LVS_SHOWSELALWAYS 0x8
    139 #define LVS_SORTASCENDING 0x10
    140 #define LVS_SORTDESCENDING 0x20
    141 #define LVS_SHAREIMAGELISTS 0x40
    142 #define LVS_NOLABELWRAP 0x80
    143 #define LVS_AUTOARRANGE 0x100
    144 #define LVS_EDITLABELS 0x200
    145 #define LVS_OWNERDATA 0x1000
    146 #define LVS_NOSCROLL 0x2000
    147 
    148 #define LVS_TYPESTYLEMASK 0xfc00
    149 
    150 #define LVS_ALIGNTOP 0x0
    151 #define LVS_ALIGNLEFT 0x800
    152 #define LVS_ALIGNMASK 0xc00
    153 
    154 #define LVS_OWNERDRAWFIXED 0x400
    155 #define LVS_NOCOLUMNHEADER 0x4000
    156 #define LVS_NOSORTHEADER 0x8000
    157 
    158 #define TVS_HASBUTTONS 0x1
    159 #define TVS_HASLINES 0x2
    160 #define TVS_LINESATROOT 0x4
    161 #define TVS_EDITLABELS 0x8
    162 #define TVS_DISABLEDRAGDROP 0x10
    163 #define TVS_SHOWSELALWAYS 0x20
    164 #define TVS_RTLREADING 0x40
    165 #define TVS_NOTOOLTIPS 0x80
    166 #define TVS_CHECKBOXES 0x100
    167 #define TVS_TRACKSELECT 0x200
    168 #define TVS_SINGLEEXPAND 0x400
    169 #define TVS_INFOTIP 0x800
    170 #define TVS_FULLROWSELECT 0x1000
    171 #define TVS_NOSCROLL 0x2000
    172 #define TVS_NONEVENHEIGHT 0x4000
    173 #define TVS_NOHSCROLL 0x8000
    174 
    175 #define TVS_EX_NOSINGLECOLLAPSE 0x1
    176 #if NTDDI_VERSION >= 0x06000000
    177 #define TVS_EX_MULTISELECT 0x2
    178 #define TVS_EX_DOUBLEBUFFER 0x4
    179 #define TVS_EX_NOINDENTSTATE 0x8
    180 #define TVS_EX_RICHTOOLTIP 0x10
    181 #define TVS_EX_AUTOHSCROLL 0x20
    182 #define TVS_EX_FADEINOUTEXPANDOS 0x40
    183 #define TVS_EX_PARTIALCHECKBOXES 0x80
    184 #define TVS_EX_EXCLUSIONCHECKBOXES 0x100
    185 #define TVS_EX_DIMMEDCHECKBOXES 0x200
    186 #define TVS_EX_DRAWIMAGEASYNC 0x400
    187 #endif
    188 
    189 #define TCS_SCROLLOPPOSITE 0x1
    190 #define TCS_BOTTOM 0x2
    191 #define TCS_RIGHT 0x2
    192 #define TCS_MULTISELECT 0x4
    193 #define TCS_FLATBUTTONS 0x8
    194 #define TCS_FORCEICONLEFT 0x10
    195 #define TCS_FORCELABELLEFT 0x20
    196 #define TCS_HOTTRACK 0x40
    197 #define TCS_VERTICAL 0x80
    198 #define TCS_TABS 0x0
    199 #define TCS_BUTTONS 0x100
    200 #define TCS_SINGLELINE 0x0
    201 #define TCS_MULTILINE 0x200
    202 #define TCS_RIGHTJUSTIFY 0x0
    203 #define TCS_FIXEDWIDTH 0x400
    204 #define TCS_RAGGEDRIGHT 0x800
    205 #define TCS_FOCUSONBUTTONDOWN 0x1000
    206 #define TCS_OWNERDRAWFIXED 0x2000
    207 #define TCS_TOOLTIPS 0x4000
    208 #define TCS_FOCUSNEVER 0x8000
    209 
    210 #define ACS_CENTER 0x1
    211 #define ACS_TRANSPARENT 0x2
    212 #define ACS_AUTOPLAY 0x4
    213 #define ACS_TIMER 0x8
    214 
    215 #define MCS_DAYSTATE 0x1
    216 #define MCS_MULTISELECT 0x2
    217 #define MCS_WEEKNUMBERS 0x4
    218 #define MCS_NOTODAYCIRCLE 0x8
    219 #define MCS_NOTODAY 0x10
    220 #if NTDDI_VERSION >= 0x06000000
    221 #define MCS_NOTRAILINGDATES 0x40
    222 #define MCS_SHORTDAYSOFWEEK 0x80
    223 #define MCS_NOSELCHANGEONNAV 0x100
    224 #endif
    225 
    226 #define DTS_UPDOWN 0x1
    227 #define DTS_SHOWNONE 0x2
    228 #define DTS_SHORTDATEFORMAT 0x0
    229 #define DTS_LONGDATEFORMAT 0x4
    230 #define DTS_SHORTDATECENTURYFORMAT 0xc
    231 #define DTS_TIMEFORMAT 0x9
    232 #define DTS_APPCANPARSE 0x10
    233 #define DTS_RIGHTALIGN 0x20
    234 
    235 #define PGS_VERT 0x0
    236 #define PGS_HORZ 0x1
    237 #define PGS_AUTOSCROLL 0x2
    238 #define PGS_DRAGNDROP 0x4
    239 
    240 #define NFS_EDIT 0x1
    241 #define NFS_STATIC 0x2
    242 #define NFS_LISTCOMBO 0x4
    243 #define NFS_BUTTON 0x8
    244 #define NFS_ALL 0x10
    245 #define NFS_USEFONTASSOC 0x20
    246 
    247 #define BS_SPLITBUTTON 0xcL
    248 #define BS_DEFSPLITBUTTON 0xdL
    249 #define BS_COMMANDLINK 0xeL
    250 #define BS_DEFCOMMANDLINK 0xfL
    251 
    252 #define BCSIF_GLYPH 0x1
    253 #define BCSIF_IMAGE 0x2
    254 #define BCSIF_STYLE 0x4
    255 #define BCSIF_SIZE 0x8
    256 
    257 #define BCSS_NOSPLIT 0x1
    258 #define BCSS_STRETCH 0x2
    259 #define BCSS_ALIGNLEFT 0x4
    260 #define BCSS_IMAGE 0x8