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.

201 lines
5.5 KiB

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