home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Include / COMMCTRL.RH < prev    next >
Encoding:
Text File  |  1999-01-26  |  7.0 KB  |  232 lines

  1. #pragma option push -b -a8 -pc -A- /*P_O_Push_S*/
  2. /*++ BUILD Version: 0000     Increment this if a change has global effects
  3.  
  4.  
  5.  
  6. Module Name:
  7.  
  8.     commctrl.rh
  9.  
  10. Abstract:
  11.  
  12.     This module defines the 32-Bit Windows resource codes from commctrl.h.
  13.  
  14. Revision History:
  15.  
  16. --*/
  17.  
  18. #define HDS_HORZ                0x0000
  19. #define HDS_BUTTONS             0x0002
  20. #if (_WIN32_IE >= 0x0300)
  21. #define HDS_HOTTRACK            0x0004
  22. #endif
  23. #define HDS_HIDDEN              0x0008
  24.  
  25. #if (_WIN32_IE >= 0x0300)
  26. #define HDS_DRAGDROP            0x0040
  27. #define HDS_FULLDRAG            0x0080
  28. #endif
  29.  
  30.  
  31. #if (_WIN32_IE >= 0x0400)
  32. #define RBS_TOOLTIPS        0x0100
  33. #define RBS_VARHEIGHT       0x0200
  34. #define RBS_BANDBORDERS     0x0400
  35. #define RBS_FIXEDORDER      0x0800
  36. #define RBS_REGISTERDROP    0x1000
  37. #define RBS_AUTOSIZE        0x2000
  38. #define RBS_VERTICALGRIPPER 0x4000  // this always has the vertical gripper (default for horizontal mode)
  39. #define RBS_DBLCLKTOGGLE    0x8000
  40. #else
  41. #define RBS_TOOLTIPS        0x00000100
  42. #define RBS_VARHEIGHT       0x00000200
  43. #define RBS_BANDBORDERS     0x00000400
  44. #define RBS_FIXEDORDER      0x00000800
  45. #endif      // _WIN32_IE >= 0x0400
  46.  
  47.  
  48.  
  49. #define TTS_ALWAYSTIP           0x01
  50. #define TTS_NOPREFIX            0x02
  51.  
  52.  
  53. #define SBARS_SIZEGRIP          0x0100
  54.  
  55.  
  56. #define TBS_AUTOTICKS           0x0001
  57. #define TBS_VERT                0x0002
  58. #define TBS_HORZ                0x0000
  59. #define TBS_TOP                 0x0004
  60. #define TBS_BOTTOM              0x0000
  61. #define TBS_LEFT                0x0004
  62. #define TBS_RIGHT               0x0000
  63. #define TBS_BOTH                0x0008
  64. #define TBS_NOTICKS             0x0010
  65. #define TBS_ENABLESELRANGE      0x0020
  66. #define TBS_FIXEDLENGTH         0x0040
  67. #define TBS_NOTHUMB             0x0080
  68. #if (_WIN32_IE >= 0x0300)
  69. #define TBS_TOOLTIPS            0x0100
  70. #endif
  71.  
  72.  
  73. #define UDS_WRAP                0x0001
  74. #define UDS_SETBUDDYINT         0x0002
  75. #define UDS_ALIGNRIGHT          0x0004
  76. #define UDS_ALIGNLEFT           0x0008
  77. #define UDS_AUTOBUDDY           0x0010
  78. #define UDS_ARROWKEYS           0x0020
  79. #define UDS_HORZ                0x0040
  80. #define UDS_NOTHOUSANDS         0x0080
  81. #if (_WIN32_IE >= 0x0300)
  82. #define UDS_HOTTRACK            0x0100
  83. #endif
  84.  
  85.  
  86. #if (_WIN32_IE >= 0x0300)
  87. #define PBS_SMOOTH              0x01
  88. #define PBS_VERTICAL            0x04
  89. #endif
  90.  
  91.  
  92. //====== COMMON CONTROL STYLES ================================================
  93.  
  94. #define CCS_TOP                 0x00000001L
  95. #define CCS_NOMOVEY             0x00000002L
  96. #define CCS_BOTTOM              0x00000003L
  97. #define CCS_NORESIZE            0x00000004L
  98. #define CCS_NOPARENTALIGN       0x00000008L
  99. #define CCS_ADJUSTABLE          0x00000020L
  100. #define CCS_NODIVIDER           0x00000040L
  101. #if (_WIN32_IE >= 0x0300)
  102. #define CCS_VERT                0x00000080L
  103. #define CCS_LEFT                (CCS_VERT | CCS_TOP)
  104. #define CCS_RIGHT               (CCS_VERT | CCS_BOTTOM)
  105. #define CCS_NOMOVEX             (CCS_VERT | CCS_NOMOVEY)
  106. #endif
  107.  
  108.  
  109. #define LVS_ICON                0x0000
  110. #define LVS_REPORT              0x0001
  111. #define LVS_SMALLICON           0x0002
  112. #define LVS_LIST                0x0003
  113. #define LVS_TYPEMASK            0x0003
  114. #define LVS_SINGLESEL           0x0004
  115. #define LVS_SHOWSELALWAYS       0x0008
  116. #define LVS_SORTASCENDING       0x0010
  117. #define LVS_SORTDESCENDING      0x0020
  118. #define LVS_SHAREIMAGELISTS     0x0040
  119. #define LVS_NOLABELWRAP         0x0080
  120. #define LVS_AUTOARRANGE         0x0100
  121. #define LVS_EDITLABELS          0x0200
  122. #if (_WIN32_IE >= 0x0300)
  123. #define LVS_OWNERDATA           0x1000
  124. #endif
  125. #define LVS_NOSCROLL            0x2000
  126.  
  127. #define LVS_TYPESTYLEMASK       0xfc00
  128.  
  129. #define LVS_ALIGNTOP            0x0000
  130. #define LVS_ALIGNLEFT           0x0800
  131. #define LVS_ALIGNMASK           0x0c00
  132.  
  133. #define LVS_OWNERDRAWFIXED      0x0400
  134. #define LVS_NOCOLUMNHEADER      0x4000
  135. #define LVS_NOSORTHEADER        0x8000
  136.  
  137.  
  138. #define TVS_HASBUTTONS          0x0001
  139. #define TVS_HASLINES            0x0002
  140. #define TVS_LINESATROOT         0x0004
  141. #define TVS_EDITLABELS          0x0008
  142. #define TVS_DISABLEDRAGDROP     0x0010
  143. #define TVS_SHOWSELALWAYS       0x0020
  144. #if (_WIN32_IE >= 0x0300)
  145. #define TVS_RTLREADING          0x0040
  146.  
  147. #define TVS_NOTOOLTIPS          0x0080
  148. #define TVS_CHECKBOXES          0x0100
  149. #define TVS_TRACKSELECT         0x0200
  150. #if (_WIN32_IE >= 0x0400)
  151. #define TVS_SINGLEEXPAND        0x0400
  152. #define TVS_INFOTIP             0x0800
  153. #define TVS_FULLROWSELECT       0x1000
  154. #define TVS_NOSCROLL            0x2000
  155. #define TVS_NONEVENHEIGHT       0x4000
  156. #endif
  157.  
  158. #endif
  159.  
  160.  
  161. #if (_WIN32_IE >= 0x0300)
  162. #define TCS_SCROLLOPPOSITE      0x0001   // assumes multiline tab
  163. #define TCS_BOTTOM              0x0002
  164. #define TCS_RIGHT               0x0002
  165. #define TCS_MULTISELECT         0x0004  // allow multi-select in button mode
  166. #endif
  167. #if (_WIN32_IE >= 0x0400)
  168. #define TCS_FLATBUTTONS         0x0008
  169. #endif
  170. #define TCS_FORCEICONLEFT       0x0010
  171. #define TCS_FORCELABELLEFT      0x0020
  172. #if (_WIN32_IE >= 0x0300)
  173. #define TCS_HOTTRACK            0x0040
  174. #define TCS_VERTICAL            0x0080
  175. #endif
  176. #define TCS_TABS                0x0000
  177. #define TCS_BUTTONS             0x0100
  178. #define TCS_SINGLELINE          0x0000
  179. #define TCS_MULTILINE           0x0200
  180. #define TCS_RIGHTJUSTIFY        0x0000
  181. #define TCS_FIXEDWIDTH          0x0400
  182. #define TCS_RAGGEDRIGHT         0x0800
  183. #define TCS_FOCUSONBUTTONDOWN   0x1000
  184. #define TCS_OWNERDRAWFIXED      0x2000
  185. #define TCS_TOOLTIPS            0x4000
  186. #define TCS_FOCUSNEVER          0x8000
  187.  
  188.  
  189. #define ACS_CENTER              0x0001
  190. #define ACS_TRANSPARENT         0x0002
  191. #define ACS_AUTOPLAY            0x0004
  192. #if (_WIN32_IE >= 0x0300)
  193. #define ACS_TIMER               0x0008  // don't use threads... use timers
  194. #endif
  195.  
  196.  
  197. #define MCS_DAYSTATE        0x0001
  198. #define MCS_MULTISELECT     0x0002
  199. #define MCS_WEEKNUMBERS     0x0004
  200. #if (_WIN32_IE >= 0x0400)
  201. #define MCS_NOTODAYCIRCLE   0x0008
  202. #define MCS_NOTODAY         0x0010
  203. #else
  204. #define MCS_NOTODAY         0x0008
  205. #endif
  206.  
  207.  
  208.  
  209. #define DTS_UPDOWN          0x0001 // use UPDOWN instead of MONTHCAL
  210. #define DTS_SHOWNONE        0x0002 // allow a NONE selection
  211. #define DTS_SHORTDATEFORMAT 0x0000 // use the short date format (app must forward WM_WININICHANGE messages)
  212. #define DTS_LONGDATEFORMAT  0x0004 // use the long date format (app must forward WM_WININICHANGE messages)
  213. #define DTS_TIMEFORMAT      0x0009 // use the time format (app must forward WM_WININICHANGE messages)
  214. #define DTS_APPCANPARSE     0x0010 // allow user entered strings (app MUST respond to DTN_USERSTRING)
  215. #define DTS_RIGHTALIGN      0x0020 // right-align popup instead of left-align it
  216.  
  217.  
  218. #define PGS_VERT                0x00000000
  219. #define PGS_HORZ                0x00000001
  220. #define PGS_AUTOSCROLL          0x00000002
  221. #define PGS_DRAGNDROP           0x00000004
  222.  
  223.  
  224. // style definition
  225. #define NFS_EDIT                0x0001
  226. #define NFS_STATIC              0x0002
  227. #define NFS_LISTCOMBO           0x0004
  228. #define NFS_BUTTON              0x0008
  229. #define NFS_ALL                 0x0010
  230.  
  231. #pragma option pop /*P_O_Pop*/
  232.