Leaked source code of windows server 2003
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.

211 lines
6.4 KiB

  1. /*************************************************************************
  2. **
  3. ** OLE 2.0 Server Sample Code
  4. **
  5. ** isvrotl.rc
  6. **
  7. ** Resource file for isvrotl.exe
  8. **
  9. ** (c) Copyright Microsoft Corp. 1992 - 1993 All Rights Reserved
  10. **
  11. *************************************************************************/
  12. #include "windows.h"
  13. #include "outlrc.h"
  14. SelCur CURSOR selcross.cur
  15. DragMoveCur CURSOR dragmove.cur
  16. #if defined( IF_SPECIAL_DD_CURSORS_NEEDED )
  17. DragNoneCur CURSOR dragnone.cur
  18. DragCopyCur CURSOR dragcopy.cur
  19. DragLinkCur CURSOR draglink.cur
  20. #endif // IF_SPECIAL_DD_CURSORS_NEEDED
  21. SvrOutlMenu MENU
  22. BEGIN
  23. POPUP "&File"
  24. BEGIN
  25. MENUITEM "&New", IDM_F_NEW
  26. MENUITEM "&Open...\t Ctrl+F12", IDM_F_OPEN
  27. MENUITEM "&Save\t Shift+F12", IDM_F_SAVE
  28. MENUITEM "Save &As...\t F12", IDM_F_SAVEAS
  29. MENUITEM SEPARATOR
  30. MENUITEM "&Print...\t Ctrl+Shift+F12", IDM_F_PRINT
  31. MENUITEM "Printer Se&tup...", IDM_F_PRINTERSETUP
  32. MENUITEM SEPARATOR
  33. MENUITEM "E&xit\t Alt+F4", IDM_F_EXIT
  34. END
  35. POPUP "&Edit"
  36. BEGIN
  37. MENUITEM "&Undo", IDM_E_UNDO
  38. MENUITEM SEPARATOR
  39. MENUITEM "Cu&t\t Ctrl+X", IDM_E_CUT
  40. MENUITEM "&Copy\t Ctrl+C", IDM_E_COPY
  41. MENUITEM "&Paste\t Ctrl+V", IDM_E_PASTE
  42. MENUITEM "Paste &Special...", IDM_E_PASTESPECIAL
  43. MENUITEM "Cl&ear\t Del", IDM_E_CLEAR
  44. MENUITEM SEPARATOR
  45. MENUITEM "Select A&ll\t Ctrl+A", IDM_E_SELECTALL
  46. END
  47. POPUP "O&utline"
  48. BEGIN
  49. POPUP "&Zoom"
  50. BEGIN
  51. MENUITEM "&400%", IDM_V_ZOOM_400
  52. MENUITEM "&300%", IDM_V_ZOOM_300
  53. MENUITEM "&200%", IDM_V_ZOOM_200
  54. MENUITEM "&100%", IDM_V_ZOOM_100
  55. MENUITEM "&75%", IDM_V_ZOOM_75
  56. MENUITEM "&50%", IDM_V_ZOOM_50
  57. MENUITEM "&25%", IDM_V_ZOOM_25
  58. END
  59. POPUP "&Left and Right margins"
  60. BEGIN
  61. MENUITEM "&nil", IDM_V_SETMARGIN_0
  62. MENUITEM "&1 cm", IDM_V_SETMARGIN_1
  63. MENUITEM "&2 cm", IDM_V_SETMARGIN_2
  64. MENUITEM "&3 cm", IDM_V_SETMARGIN_3
  65. MENUITEM "&4 cm", IDM_V_SETMARGIN_4
  66. END
  67. POPUP "Add &Top Line"
  68. BEGIN
  69. MENUITEM "&1 cm", IDM_V_ADDTOP_1
  70. MENUITEM "&2 cm", IDM_V_ADDTOP_2
  71. MENUITEM "&3 cm", IDM_V_ADDTOP_3
  72. MENUITEM "&4 cm", IDM_V_ADDTOP_4
  73. END
  74. END
  75. POPUP "&Line"
  76. BEGIN
  77. MENUITEM "&Add Line\t Enter", IDM_L_ADDLINE
  78. MENUITEM "E&dit Line\t Alt+Enter", IDM_L_EDITLINE
  79. MENUITEM SEPARATOR
  80. MENUITEM "&Indent Line\t Tab", IDM_L_INDENTLINE
  81. MENUITEM "U&nindent Line\t Shift+Tab", IDM_L_UNINDENTLINE
  82. MENUITEM SEPARATOR
  83. MENUITEM "&Set Line Height...", IDM_L_SETLINEHEIGHT
  84. END
  85. POPUP "&Name"
  86. BEGIN
  87. MENUITEM "&Define Name...", IDM_N_DEFINENAME
  88. MENUITEM "&Goto Name...", IDM_N_GOTONAME
  89. END
  90. POPUP "&Options"
  91. BEGIN
  92. POPUP "&Button Bar Display"
  93. BEGIN
  94. MENUITEM "At &Top", IDM_O_BB_TOP
  95. MENUITEM "At &Bottom", IDM_O_BB_BOTTOM
  96. MENUITEM "&Popup", IDM_O_BB_POPUP
  97. MENUITEM "&Hide", IDM_O_BB_HIDE
  98. END
  99. POPUP "&Formula Bar Display"
  100. BEGIN
  101. MENUITEM "At &Top", IDM_O_FB_TOP
  102. MENUITEM "At &Bottom", IDM_O_FB_BOTTOM
  103. MENUITEM "&Popup", IDM_O_FB_POPUP
  104. END
  105. POPUP "&Row and Column Heading"
  106. BEGIN
  107. MENUITEM "&Show", IDM_O_HEAD_SHOW
  108. MENUITEM "&Hide", IDM_O_HEAD_HIDE
  109. END
  110. END
  111. POPUP "DbgI&Svr"
  112. BEGIN
  113. MENUITEM "&Debug Level...", IDM_D_DEBUGLEVEL
  114. MENUITEM "Register Message &Filter", IDM_D_INSTALLMSGFILTER
  115. MENUITEM "&Reject Incoming Messages", IDM_D_REJECTINCOMING
  116. END
  117. POPUP "&Help"
  118. BEGIN
  119. MENUITEM "&About...", IDM_H_ABOUT
  120. END
  121. END
  122. SvrOutlAccel ACCELERATORS
  123. BEGIN
  124. VK_F12, IDM_F_OPEN, VIRTKEY, CONTROL
  125. VK_F12, IDM_F_SAVE, VIRTKEY, SHIFT
  126. VK_F12, IDM_F_SAVEAS, VIRTKEY
  127. VK_F12, IDM_F_PRINT, VIRTKEY, CONTROL, SHIFT
  128. "x", IDM_E_CUT, VIRTKEY, CONTROL
  129. "c", IDM_E_COPY, VIRTKEY, CONTROL
  130. "v", IDM_E_PASTE, VIRTKEY, CONTROL
  131. VK_DELETE, IDM_E_CLEAR, VIRTKEY
  132. VK_RETURN, IDM_L_ADDLINE, VIRTKEY
  133. VK_RETURN, IDM_L_EDITLINE, VIRTKEY, ALT
  134. VK_TAB, IDM_L_INDENTLINE, VIRTKEY
  135. VK_TAB, IDM_L_UNINDENTLINE, VIRTKEY, SHIFT
  136. "a", IDM_E_SELECTALL, VIRTKEY, CONTROL
  137. ; old conventions for editing
  138. VK_INSERT, IDM_E_COPY, VIRTKEY, CONTROL
  139. VK_DELETE, IDM_E_CUT, VIRTKEY, SHIFT
  140. VK_INSERT, IDM_E_PASTE, VIRTKEY, SHIFT
  141. VK_F2, IDM_F2, VIRTKEY
  142. END
  143. ; used when edit control of Formula Bar in focus
  144. ;
  145. SvrOutlAccelFocusEdit ACCELERATORS
  146. BEGIN
  147. VK_F12, IDM_F_OPEN, VIRTKEY, CONTROL
  148. VK_F12, IDM_F_SAVE, VIRTKEY, SHIFT
  149. VK_F12, IDM_F_SAVEAS, VIRTKEY
  150. VK_F12, IDM_F_PRINT, VIRTKEY, CONTROL, SHIFT
  151. VK_RETURN, IDM_L_ADDLINE, VIRTKEY
  152. VK_RETURN, IDM_L_EDITLINE, VIRTKEY, ALT
  153. VK_ESCAPE, IDM_ESCAPE, VIRTKEY
  154. END
  155. InPlaceSvrOutlAccel ACCELERATORS
  156. BEGIN
  157. "x", IDM_E_CUT, VIRTKEY, CONTROL
  158. "c", IDM_E_COPY, VIRTKEY, CONTROL
  159. "v", IDM_E_PASTE, VIRTKEY, CONTROL
  160. VK_DELETE, IDM_E_CLEAR, VIRTKEY
  161. VK_RETURN, IDM_L_ADDLINE, VIRTKEY
  162. VK_RETURN, IDM_L_EDITLINE, VIRTKEY, ALT
  163. VK_TAB, IDM_L_INDENTLINE, VIRTKEY
  164. VK_TAB, IDM_L_UNINDENTLINE, VIRTKEY, SHIFT
  165. "a", IDM_E_SELECTALL, VIRTKEY, CONTROL
  166. ; old conventions for editing
  167. VK_INSERT, IDM_E_COPY, VIRTKEY, CONTROL
  168. VK_DELETE, IDM_E_CUT, VIRTKEY, SHIFT
  169. VK_INSERT, IDM_E_PASTE, VIRTKEY, SHIFT
  170. VK_F2, IDM_F2, VIRTKEY
  171. VK_ESCAPE, IDM_ESCAPE, VIRTKEY
  172. END
  173. ; used when edit control of Formula Bar in focus
  174. ; REVIEW: currently not properly used
  175. InPlaceSvrOutlAccelFocusEdit ACCELERATORS
  176. BEGIN
  177. VK_F12, IDM_F_OPEN, VIRTKEY, CONTROL
  178. VK_F12, IDM_F_SAVE, VIRTKEY, SHIFT
  179. VK_F12, IDM_F_SAVEAS, VIRTKEY
  180. VK_F12, IDM_F_PRINT, VIRTKEY, CONTROL, SHIFT
  181. VK_RETURN, IDM_L_ADDLINE, VIRTKEY
  182. VK_RETURN, IDM_L_EDITLINE, VIRTKEY, ALT
  183. VK_ESCAPE, IDM_FB_CANCEL, VIRTKEY
  184. END
  185. SvrOutlIcon ICON isvrotl.ico
  186. Image72 BITMAP image72.bmp
  187. Image96 BITMAP image96.bmp
  188. Image120 BITMAP image120.bmp
  189. LogoBitmap BITMAP ole2.bmp
  190. #include "DIALOGS.DLG"