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.

186 lines
5.8 KiB

  1. /*************************************************************************
  2. **
  3. ** OLE 2.0 Server Sample Code
  4. **
  5. ** svroutl.rc
  6. **
  7. ** Resource file for svroutl.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 "Dbg&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. ; Same as SvrOutlAccel but without Delete and Backspace
  144. ; used when edit control of Formula Bar in focus
  145. ;
  146. SvrOutlAccelFocusEdit ACCELERATORS
  147. BEGIN
  148. VK_F12, IDM_F_OPEN, VIRTKEY, CONTROL
  149. VK_F12, IDM_F_SAVE, VIRTKEY, SHIFT
  150. VK_F12, IDM_F_SAVEAS, VIRTKEY
  151. VK_F12, IDM_F_PRINT, VIRTKEY, CONTROL, SHIFT
  152. "x", IDM_E_CUT, VIRTKEY, CONTROL
  153. "c", IDM_E_COPY, VIRTKEY, CONTROL
  154. "v", IDM_E_PASTE, VIRTKEY, CONTROL
  155. VK_RETURN, IDM_L_ADDLINE, VIRTKEY
  156. VK_RETURN, IDM_L_EDITLINE, VIRTKEY, ALT
  157. VK_TAB, IDM_L_INDENTLINE, VIRTKEY
  158. VK_TAB, IDM_L_UNINDENTLINE, VIRTKEY, SHIFT
  159. "a", IDM_E_SELECTALL, VIRTKEY, CONTROL
  160. VK_ESCAPE, IDM_FB_CANCEL, VIRTKEY
  161. ; old conventions for editing
  162. VK_INSERT, IDM_E_COPY, VIRTKEY, CONTROL
  163. VK_DELETE, IDM_E_CUT, VIRTKEY, SHIFT
  164. VK_INSERT, IDM_E_PASTE, VIRTKEY, SHIFT
  165. END
  166. SvrOutlIcon ICON svroutl.ico
  167. Image72 BITMAP image72.bmp
  168. Image96 BITMAP image96.bmp
  169. Image120 BITMAP image120.bmp
  170. LogoBitmap BITMAP ole2.bmp
  171. #include "DIALOGS.DLG"