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.

192 lines
5.5 KiB

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