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.

195 lines
5.4 KiB

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