commctrl.rh 6.4 KB

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