Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

272 lines
5.7 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. dlgs.h
  5. Abstract:
  6. This module contains the UI dialog header information.
  7. --*/
  8. #ifndef _DLGSH_INCLUDED_
  9. #define _DLGSH_INCLUDED_
  10. //
  11. // Constant Declarations.
  12. //
  13. #define ctlFirst 0x0400
  14. #define ctlLast 0x04ff
  15. //
  16. // Push buttons.
  17. //
  18. #define psh1 0x0400
  19. #define psh2 0x0401
  20. #define psh3 0x0402
  21. #define psh4 0x0403
  22. #define psh5 0x0404
  23. #define psh6 0x0405
  24. #define psh7 0x0406
  25. #define psh8 0x0407
  26. #define psh9 0x0408
  27. #define psh10 0x0409
  28. #define psh11 0x040a
  29. #define psh12 0x040b
  30. #define psh13 0x040c
  31. #define psh14 0x040d
  32. #define psh15 0x040e
  33. #define pshHelp psh15
  34. #define psh16 0x040f
  35. //
  36. // Checkboxes.
  37. //
  38. #define chx1 0x0410
  39. #define chx2 0x0411
  40. #define chx3 0x0412
  41. #define chx4 0x0413
  42. #define chx5 0x0414
  43. #define chx6 0x0415
  44. #define chx7 0x0416
  45. #define chx8 0x0417
  46. #define chx9 0x0418
  47. #define chx10 0x0419
  48. #define chx11 0x041a
  49. #define chx12 0x041b
  50. #define chx13 0x041c
  51. #define chx14 0x041d
  52. #define chx15 0x041e
  53. #define chx16 0x041f
  54. //
  55. // Radio buttons.
  56. //
  57. #define rad1 0x0420
  58. #define rad2 0x0421
  59. #define rad3 0x0422
  60. #define rad4 0x0423
  61. #define rad5 0x0424
  62. #define rad6 0x0425
  63. #define rad7 0x0426
  64. #define rad8 0x0427
  65. #define rad9 0x0428
  66. #define rad10 0x0429
  67. #define rad11 0x042a
  68. #define rad12 0x042b
  69. #define rad13 0x042c
  70. #define rad14 0x042d
  71. #define rad15 0x042e
  72. #define rad16 0x042f
  73. //
  74. // Groups, frames, rectangles, and icons.
  75. //
  76. #define grp1 0x0430
  77. #define grp2 0x0431
  78. #define grp3 0x0432
  79. #define grp4 0x0433
  80. #define frm1 0x0434
  81. #define frm2 0x0435
  82. #define frm3 0x0436
  83. #define frm4 0x0437
  84. #define rct1 0x0438
  85. #define rct2 0x0439
  86. #define rct3 0x043a
  87. #define rct4 0x043b
  88. #define ico1 0x043c
  89. #define ico2 0x043d
  90. #define ico3 0x043e
  91. #define ico4 0x043f
  92. //
  93. // Static text.
  94. //
  95. #define stc1 0x0440
  96. #define stc2 0x0441
  97. #define stc3 0x0442
  98. #define stc4 0x0443
  99. #define stc5 0x0444
  100. #define stc6 0x0445
  101. #define stc7 0x0446
  102. #define stc8 0x0447
  103. #define stc9 0x0448
  104. #define stc10 0x0449
  105. #define stc11 0x044a
  106. #define stc12 0x044b
  107. #define stc13 0x044c
  108. #define stc14 0x044d
  109. #define stc15 0x044e
  110. #define stc16 0x044f
  111. #define stc17 0x0450
  112. #define stc18 0x0451
  113. #define stc19 0x0452
  114. #define stc20 0x0453
  115. #define stc21 0x0454
  116. #define stc22 0x0455
  117. #define stc23 0x0456
  118. #define stc24 0x0457
  119. #define stc25 0x0458
  120. #define stc26 0x0459
  121. #define stc27 0x045a
  122. #define stc28 0x045b
  123. #define stc29 0x045c
  124. #define stc30 0x045d
  125. #define stc31 0x045e
  126. #define stc32 0x045f
  127. //
  128. // Listboxes.
  129. //
  130. #define lst1 0x0460
  131. #define lst2 0x0461
  132. #define lst3 0x0462
  133. #define lst4 0x0463
  134. #define lst5 0x0464
  135. #define lst6 0x0465
  136. #define lst7 0x0466
  137. #define lst8 0x0467
  138. #define lst9 0x0468
  139. #define lst10 0x0469
  140. #define lst11 0x046a
  141. #define lst12 0x046b
  142. #define lst13 0x046c
  143. #define lst14 0x046d
  144. #define lst15 0x046e
  145. #define lst16 0x046f
  146. //
  147. // Combo boxes.
  148. //
  149. #define cmb1 0x0470
  150. #define cmb2 0x0471
  151. #define cmb3 0x0472
  152. #define cmb4 0x0473
  153. #define cmb5 0x0474
  154. #define cmb6 0x0475
  155. #define cmb7 0x0476
  156. #define cmb8 0x0477
  157. #define cmb9 0x0478
  158. #define cmb10 0x0479
  159. #define cmb11 0x047a
  160. #define cmb12 0x047b
  161. #define cmb13 0x047c
  162. #define cmb14 0x047d
  163. #define cmb15 0x047e
  164. #define cmb16 0x047f
  165. //
  166. // Edit controls.
  167. //
  168. #define edt1 0x0480
  169. #define edt2 0x0481
  170. #define edt3 0x0482
  171. #define edt4 0x0483
  172. #define edt5 0x0484
  173. #define edt6 0x0485
  174. #define edt7 0x0486
  175. #define edt8 0x0487
  176. #define edt9 0x0488
  177. #define edt10 0x0489
  178. #define edt11 0x048a
  179. #define edt12 0x048b
  180. #define edt13 0x048c
  181. #define edt14 0x048d
  182. #define edt15 0x048e
  183. #define edt16 0x048f
  184. //
  185. // Scroll bars.
  186. //
  187. #define scr1 0x0490
  188. #define scr2 0x0491
  189. #define scr3 0x0492
  190. #define scr4 0x0493
  191. #define scr5 0x0494
  192. #define scr6 0x0495
  193. #define scr7 0x0496
  194. #define scr8 0x0497
  195. //
  196. // Controls
  197. //
  198. #define ctl1 0x04A0
  199. //
  200. // These dialog resource ordinals really start at 0x0600, but the
  201. // RC Compiler can't handle hex for resource IDs, hence the decimal.
  202. //
  203. #ifdef UNIX
  204. #define MW_BIG_FILEOPENORD 10000
  205. #define MW_BIG_MULTIFILEOPENORD 10001
  206. #define FILEOPENORDMOTIF 10003
  207. #define PRINTDLGORDMOTIF 10004
  208. #define FINDDLGORDMOTIF 10005
  209. #endif
  210. #define FILEOPENORD 1536
  211. #define MULTIFILEOPENORD 1537
  212. #define PRINTDLGORD 1538
  213. #define PRNSETUPDLGORD 1539
  214. #define FINDDLGORD 1540
  215. #define REPLACEDLGORD 1541
  216. #define FONTDLGORD 1542
  217. #define FORMATDLGORD31 1543
  218. #define FORMATDLGORD30 1544
  219. #define RUNDLGORD 1545
  220. #if (WINVER >= 0x400)
  221. #define PAGESETUPDLGORD 1546
  222. #define NEWFILEOPENORD 1547
  223. #define PRINTDLGEXORD 1549
  224. #define PAGESETUPDLGORDMOTIF 1550
  225. #define COLORMGMTDLGORD 1551
  226. #define NEWFILEOPENV2ORD 1552
  227. #endif /* WINVER >= 0x400) */
  228. //
  229. // Typedef Declarations.
  230. //
  231. typedef struct tagCRGB
  232. {
  233. BYTE bRed;
  234. BYTE bGreen;
  235. BYTE bBlue;
  236. BYTE bExtra;
  237. } CRGB; /* RGB Color */
  238. #endif // _DLGSH_INCLUDED_