OUTLRC.H
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:7k
源码类别:

Windows编程

开发平台:

Visual C++

  1. /*************************************************************************
  2. **
  3. **    OLE 2.0 Sample Code
  4. **
  5. **    outlrc.h
  6. **
  7. **    This file containes constants used in rc file for Outline.exe
  8. **
  9. **    (c) Copyright Microsoft Corp. 1992 - 1996 All Rights Reserved
  10. **
  11. *************************************************************************/
  12. #if !defined( _OUTLRC_H_ )
  13. #define _OUTLRC_H_
  14. #ifndef RC_INVOKED
  15. #pragma message ("INCLUDING OUTLRC.H from " __FILE__)
  16. #endif  /* RC_INVOKED */
  17. #if defined( OLE_SERVER ) && ! defined( INPLACE_SVR )
  18. #ifdef TEST32
  19. #define APPNAME                 OLESTR("SvrOut32")
  20. #define APPNAMEA                "SvrOut32"
  21. #define APPDESC                 "OLE 2.0 Server Sample Code 32"
  22. #else
  23. #define APPNAME                 OLESTR("SvrOutl")
  24. #define APPNAMEA                "SvrOutl"
  25. #define APPDESC                 "OLE 2.0 Server Sample Code"
  26. #endif   //TEST32
  27. #define APPMENU                 "SvrOutlMenu"
  28. #define APPACCEL                "SvrOutlAccel"
  29. #define FB_EDIT_ACCEL           "SvrOutlAccelFocusEdit"
  30. #define APPICON                 "SvrOutlIcon"
  31. #define APPWNDCLASS             "SvrOutlApp"
  32. #define DOCWNDCLASS             "SvrOutlDoc"
  33. #endif  // OLE_SERVER && ! INPLACE_SVR
  34. #if defined( INPLACE_SVR )
  35. #ifdef TEST32
  36. #define APPNAME                 OLESTR("ISvrOu32")
  37. #define APPNAMEA                "ISvrOu32"
  38. #define APPDESC                 "OLE 2.0 In-Place Server Sample Code 32"
  39. #else
  40. #define APPNAME                 OLESTR("ISvrOtl")
  41. #define APPNAMEA                "ISvrOtl"
  42. #define APPDESC                 "OLE 2.0 In-Place Server Sample Code"
  43. #endif //TEST32
  44. #define APPMENU                 "SvrOutlMenu"
  45. #define APPACCEL                "SvrOutlAccel"
  46. #define FB_EDIT_ACCEL           "SvrOutlAccelFocusEdit"
  47. #define APPICON                 "SvrOutlIcon"
  48. #define APPWNDCLASS             "SvrOutlApp"
  49. #define DOCWNDCLASS             "SvrOutlDoc"
  50. #endif  // INPLACE_SVR
  51. #if defined( OLE_CNTR ) && ! defined( INPLACE_CNTR )
  52. #ifdef TEST32
  53. #define APPNAME                 OLESTR("CntrOu32")
  54. #define APPNAMEA                "CntrOu32"
  55. #define APPDESC                 "OLE 2.0 Container Sample Code 32"
  56. #else
  57. #define APPNAME                 OLESTR("CntrOutl")
  58. #define APPNAMEA                "CntrOutl"
  59. #define APPDESC                 "OLE 2.0 Container Sample Code"
  60. #endif //TEST32
  61. #define APPMENU                 "CntrOutlMenu"
  62. #define APPACCEL                "CntrOutlAccel"
  63. #define FB_EDIT_ACCEL           "CntrOutlAccelFocusEdit"
  64. #define APPICON                 "CntrOutlIcon"
  65. #define APPWNDCLASS             "CntrOutlApp"
  66. #define DOCWNDCLASS             "CntrOutlDoc"
  67. #endif  // OLE_CNTR && ! INPLACE_CNTR
  68. #if defined( INPLACE_CNTR )
  69. #ifdef TEST32
  70. #define APPNAME                 OLESTR("ICntrO32")
  71. #define APPNAMEA                "ICntrO32"
  72. #define APPDESC                 "OLE 2.0 In-Place Container Sample Code 32"
  73. #else
  74. #define APPNAME                 OLESTR("ICntrOtl")
  75. #define APPNAMEA                "ICntrOtl"
  76. #define APPDESC                 "OLE 2.0 In-Place Container Sample Code"
  77. #endif
  78. #define APPMENU                 "CntrOutlMenu"
  79. #define APPACCEL                "CntrOutlAccel"
  80. #define FB_EDIT_ACCEL           "CntrOutlAccelFocusEdit"
  81. #define APPICON                 "CntrOutlIcon"
  82. #define APPWNDCLASS             "CntrOutlApp"
  83. #define DOCWNDCLASS             "CntrOutlDoc"
  84. #endif  // INPLACE_CNTR
  85. #if !defined( OLE_VERSION )
  86. #define APPNAME                 OLESTR("Outline")
  87. #define APPNAMEA                "Outline"
  88. #define APPMENU                 "OutlineMenu"
  89. #define APPACCEL                "OutlineAccel"
  90. #define FB_EDIT_ACCEL           "OutlineAccelFocusEdit"
  91. #define APPICON                 "OutlineIcon"
  92. #define APPWNDCLASS             "OutlineApp"
  93. #define DOCWNDCLASS             "OutlineDoc"
  94. #define APPDESC                 "OLE 2.0 Sample Code"
  95. #endif  // OLE_VERSION
  96. #define IDM_FILE                       1000
  97. #define IDM_F_NEW                      1050
  98. #define IDM_F_OPEN                     1100
  99. #define IDM_F_SAVE                     1150
  100. #define IDM_F_SAVEAS                   1200
  101. #define IDM_F_PRINT                    1300
  102. #define IDM_F_PRINTERSETUP             1350
  103. #define IDM_F_EXIT                     1450
  104. #define IDM_EDIT                       2000
  105. #define IDM_E_UNDO                     2050
  106. #define IDM_E_CUT                      2150
  107. #define IDM_E_COPY                     2200
  108. #define IDM_E_PASTE                    2250
  109. #define IDM_E_PASTESPECIAL             2255
  110. #define IDM_E_CLEAR                    2300
  111. #define IDM_E_SELECTALL                2560
  112. #define IDM_LINE                       3000
  113. #define IDM_L_ADDLINE                  3400
  114. #define IDM_L_EDITLINE                 3450
  115. #define IDM_L_INDENTLINE               3500
  116. #define IDM_L_UNINDENTLINE             3550
  117. #define IDM_L_SETLINEHEIGHT            3560
  118. #define IDM_NAME                       4000
  119. #define IDM_N_DEFINENAME               4050
  120. #define IDM_N_GOTONAME                 4100
  121. #define IDM_HELP                       5000
  122. #define IDM_H_ABOUT                    5050
  123. #define IDM_DEBUG                      6000
  124. #define IDM_D_DEBUGLEVEL               6050
  125. #define IDM_D_INSTALLMSGFILTER         6060
  126. #define IDM_D_REJECTINCOMING            6070
  127. #define IDM_O_BB_TOP                   6100
  128. #define IDM_O_BB_BOTTOM                6150
  129. #define IDM_O_BB_POPUP                 6200
  130. #define IDM_O_BB_HIDE                  6210
  131. #define IDM_O_FB_TOP                   6250
  132. #define IDM_O_FB_BOTTOM                6300
  133. #define IDM_O_FB_POPUP                 6350
  134. #define IDM_O_HEAD_SHOW                6400
  135. #define IDM_O_HEAD_HIDE                6450
  136. #define IDM_O_SHOWOBJECT               6460
  137. #define IDM_V_ZOOM_400                 6500
  138. #define IDM_V_ZOOM_300                 6510
  139. #define IDM_V_ZOOM_200                 6520
  140. #define IDM_V_ZOOM_100                 6550
  141. #define IDM_V_ZOOM_75                  6600
  142. #define IDM_V_ZOOM_50                  6650
  143. #define IDM_V_ZOOM_25                  6700
  144. #define IDM_V_SETMARGIN_0              6750
  145. #define IDM_V_SETMARGIN_1              6800
  146. #define IDM_V_SETMARGIN_2              6850
  147. #define IDM_V_SETMARGIN_3              6860
  148. #define IDM_V_SETMARGIN_4              6870
  149. #define IDM_V_ADDTOP_1                 6900
  150. #define IDM_V_ADDTOP_2                 6910
  151. #define IDM_V_ADDTOP_3                 6920
  152. #define IDM_V_ADDTOP_4                 6930
  153. #define IDM_FB_EDIT                    7000
  154. #define IDM_FB_CANCEL                  7005
  155. #define IDM_F2                         7010
  156. #define IDM_ESCAPE                     7015
  157. #define IDD_LINELISTBOX                101
  158. #define IDD_EDIT                       102
  159. #define IDD_COMBO                      103
  160. #define IDD_DELETE                     104
  161. #define IDD_CLOSE                      105
  162. #define IDD_APPTEXT                    106
  163. #define IDD_FROM                       107
  164. #define IDD_TO                         108
  165. #define IDD_BITMAPLOCATION             109
  166. #define IDD_CHECK                      110
  167. #define IDD_TEXT                       111
  168. #define IDD_LIMIT                      112
  169. #define IDC_LINELIST                   201
  170. #define IDC_NAMETABLE                  202
  171. #define WM_U_INITFRAMETOOLS            WM_USER
  172. #ifdef RC_INVOKED
  173. #include "debug.rc"
  174. #endif  /* RC_INVOKED */
  175. #endif // _OUTLRC_H_