home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winui / comctl / reitp / reitp.rh < prev    next >
Encoding:
Text File  |  1995-05-03  |  3.5 KB  |  185 lines

  1. #ifndef fFalse
  2. #define fFalse FALSE
  3. #define fTrue TRUE
  4. #endif
  5.  
  6. // Dialog Box Control IDs
  7.  
  8. #define GTCTRL            100
  9. #define PSB_PrevPage    101
  10. #define PSB_NextPage    102
  11. #define PSB_Close        103
  12. #define PSB_TopLeft        104
  13.  
  14. // Menu item identifiers
  15.  
  16.  
  17. // File Menu
  18.  
  19. #define IDM_NEW            410
  20. #define IDM_OPEN        411
  21. #define IDM_CLOSE        412
  22. #define IDM_REVERT        413
  23.  
  24. #define IDM_SAVE        420
  25. #define IDM_SAVEAS        421
  26.  
  27. #define IDM_PRINT        427
  28. #define IDM_PRINTSETUP    428
  29. #define IDM_PRINTPREVIEW 429
  30.  
  31. #define IDM_EXIT        430
  32.  
  33. // Edit Menu
  34.  
  35. #define IDM_UNDO        500
  36.  
  37. #define IDM_CUT            510
  38. #define IDM_COPY        511
  39. #define IDM_PASTE        512
  40. #define IDM_PASTESPECIAL 513
  41. #define IDM_DELETE        514
  42. #define IDM_SELECTALL    515
  43.  
  44. #define IDM_FIND        520
  45. #define IDM_REPLACE        521
  46.  
  47. #define IDM_OBJECT        530
  48. #define IDM_INSOBJ        531
  49. #define IDM_INSFILE        532
  50. #define IDM_SAVESEL        533
  51.  
  52. #ifdef DBCS
  53. #define    IDM_WORDREG        534
  54. #endif
  55.  
  56. // Offset into the Edit menu of IDM_OBJECT
  57. #define    ipos_Object        12
  58. #define    IDM_OBJECTCONVERT    2000
  59. #define    IDM_OBJECTMIN        2001
  60.  
  61. // Format Menu
  62.  
  63. #define IDM_CHARFORMAT    600
  64. #define IDM_APPLYTOWORD 601
  65.  
  66. #define IDM_SUPERSCRIPT    605
  67. #define IDM_SUBSCRIPT    606
  68.  
  69. #define IDM_ALIGNLEFT    610
  70. #define IDM_ALIGNCENTER    611
  71. #define IDM_ALIGNRIGHT    612
  72.  
  73. #define IDM_INDENTFIRST    620
  74. #define IDM_OUTDENTFIRST 621
  75.  
  76. #define IDM_MARGINS        630
  77. #define IDM_TABS        631
  78.  
  79. #define IDM_PROTECTED    635
  80.  
  81. #define IDM_NOWRAP        640
  82. #define IDM_WRAP        641
  83. #define IDM_WYSIWYG        642
  84.  
  85. // Options Menu
  86.  
  87. #define IDM_SELBAR        700
  88. #define IDM_AUTOWORDSEL    701
  89. #define IDM_SHOWMARGINS    702
  90.  
  91. #ifdef DEBUG
  92. #define IDM_READONLY    760
  93. #define IDM_AUTOHSCROLL    761
  94. #define IDM_AUTOVSCROLL    762
  95. #define IDM_AUTOHIDESEL    763
  96. #endif
  97.  
  98. #ifdef DBCS
  99. #define IDM_VERTICAL    780
  100. #endif
  101.  
  102. // accelerators not asocciated with any menus
  103. #define IDM_GOTOCURSOR    800
  104. #define IDM_MOVECURSOR    801
  105.  
  106.  
  107. // Debug Menu
  108.  
  109. #ifdef DEBUG
  110. #define IDM_DBGPED        900
  111. #define IDM_GETTEXT        901
  112. #define IDM_CLSDBG        902
  113. #define IDM_TRACEDLG    903
  114. #define IDM_IGNORELEFTCLICK 904
  115. #define IDM_EATES        905
  116. #define IDM_IGNOREDROPS    906
  117. #define IDM_BOTTOMLESS    907
  118. #define IDM_TEXTONLY    908
  119. #define IDM_REFUSEGRAPH    909
  120. #define IDM_PASTEPLAINTEXT 910
  121. #define IDM_PASTETXTOBJ    911
  122. #define IDM_PASTERTFASTEXT 912
  123. #define IDM_BIGLIMIT    913
  124. #define IDM_FILLERUP    914
  125. #define IDM_PPMETA        915
  126. #define IDM_ENABLEPASTEREADONLY 916
  127. #define IDM_ENABLECUTREADONLY 917
  128. #define IDM_ENABLEDRAGREADONLY 918
  129. #define IDM_SWAPDRAGEFFECT 919
  130. #define IDM_HIDE        921
  131. #ifdef DBCS
  132. #define IDM_LANGINFO    923
  133. #endif
  134. #endif
  135.  
  136. // Format Bar
  137.  
  138. // formatbar bitmap
  139. #define    BMP_FormatBar    21769
  140.  
  141. // indices in the the formatbar bitmap
  142. #define    tbBold            0
  143. #define    tbItalic        1
  144. #define    tbUnderline        2
  145. #define    tbLeft            3
  146. #define    tbCenter        4
  147. #define    tbRight            5
  148. #define    tbBullet        6
  149. #define    tbColor            7
  150. #define tbDecreaseIndent 8
  151. #define tbIncreaseIndent 9
  152. #ifdef DBCS
  153. #define    tbVertical        10
  154.  
  155. #define    tbFormatBarMax    11
  156. #else
  157. #define    tbFormatBarMax    10
  158. #endif
  159.  
  160. // formatbar menu IDs
  161.  
  162. // keep these together in this order
  163. #define    TBI_Bold        21770
  164. #define    TBI_Italic        21771
  165. #define    TBI_Underline    21772
  166.  
  167. #define    TBI_Bullet        21775
  168. #define    TBI_IncreaseIndent 21776
  169. #define    TBI_DecreaseIndent 21777
  170.  
  171. // keep these together in this order
  172. #define    TBI_Left        21780
  173. #define    TBI_Center        21781
  174. #define    TBI_Right        21782
  175.  
  176. #define    TBI_AccelBold        21785
  177. #define    TBI_AccelItalic        21786
  178. #define    TBI_AccelUnderline    21787
  179.  
  180. #ifdef DBCS
  181. #define    TBI_FE_Vertical        21792
  182. #endif
  183.  
  184.  
  185.