scribble.rc
上传用户:biuytresa
上传日期:2007-12-07
资源大小:721k
文件大小:19k
源码类别:

DNA

开发平台:

Visual C++

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. /////////////////////////////////////////////////////////////////////////////
  13. // English (U.S.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  17. #pragma code_page(1252)
  18. #endif //_WIN32
  19. #ifdef APSTUDIO_INVOKED
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // TEXTINCLUDE
  23. //
  24. 1 TEXTINCLUDE DISCARDABLE
  25. BEGIN
  26. "resource.h"
  27. END
  28. 2 TEXTINCLUDE DISCARDABLE
  29. BEGIN
  30. "#include ""afxres.h""rn"
  31. ""
  32. END
  33. 3 TEXTINCLUDE DISCARDABLE
  34. BEGIN
  35. "#define _AFX_NO_SPLITTER_RESOURCESrn"
  36. "#define _AFX_NO_PROPERTY_RESOURCESrn"
  37. "rn"
  38. "#include ""res\Scribble.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  39. "#include ""afxres.rc""         // Standard componentsrn"
  40. "#include ""afxprint.rc""       // printing/print preview resourcesrn"
  41. "#include ""afxolesv.rc""       // OLE server resourcesrn"
  42. ""
  43. END
  44. #endif    // APSTUDIO_INVOKED
  45. /////////////////////////////////////////////////////////////////////////////
  46. //
  47. // Icon
  48. //
  49. IDR_MAINFRAME           ICON    DISCARDABLE     "res\Scribble.ico"
  50. IDR_SCRIBBTYPE          ICON    DISCARDABLE     "res\ScribDoc.ico"
  51. /////////////////////////////////////////////////////////////////////////////
  52. //
  53. // Bitmap
  54. //
  55. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\Toolbar.bmp"
  56. IDR_SCRIBBTYPE_SRVR_IP  BITMAP  MOVEABLE PURE   "res\itoolbar.bmp"
  57. /////////////////////////////////////////////////////////////////////////////
  58. //
  59. // Toolbar
  60. //
  61. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  62. BEGIN
  63. BUTTON      ID_FILE_NEW
  64. BUTTON      ID_FILE_OPEN
  65. BUTTON      ID_FILE_SAVE
  66. SEPARATOR
  67. BUTTON      ID_PEN_THICK_OR_THIN
  68. SEPARATOR
  69. BUTTON      ID_FILE_PRINT
  70. BUTTON      ID_APP_ABOUT
  71. BUTTON      ID_CONTEXT_HELP
  72. END
  73. IDR_SCRIBBTYPE_SRVR_IP TOOLBAR DISCARDABLE  16, 15
  74. BEGIN
  75. BUTTON      ID_PEN_THICK_OR_THIN
  76. SEPARATOR
  77. BUTTON      ID_APP_ABOUT
  78. BUTTON      ID_CONTEXT_HELP
  79. END
  80. /////////////////////////////////////////////////////////////////////////////
  81. //
  82. // Menu
  83. //
  84. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  85. BEGIN
  86. POPUP "&File"
  87. BEGIN
  88. MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  89. MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  90. MENUITEM SEPARATOR
  91. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  92. MENUITEM SEPARATOR
  93. MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  94. MENUITEM SEPARATOR
  95. MENUITEM "E&xit",                       ID_APP_EXIT
  96. END
  97. POPUP "&View"
  98. BEGIN
  99. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  100. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  101. END
  102. POPUP "&Help"
  103. BEGIN
  104. MENUITEM "&Help Topics",                ID_HELP_FINDER
  105. MENUITEM SEPARATOR
  106. MENUITEM "&About Scribble...",          ID_APP_ABOUT
  107. END
  108. END
  109. IDR_SCRIBBTYPE MENU PRELOAD DISCARDABLE
  110. BEGIN
  111. POPUP "&File"
  112. BEGIN
  113. MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  114. MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  115. MENUITEM "&Close",                      ID_FILE_CLOSE
  116. MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  117. MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  118. MENUITEM SEPARATOR
  119. MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  120. MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  121. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  122. MENUITEM SEPARATOR
  123. MENUITEM "Sen&d...",                    ID_FILE_SEND_MAIL
  124. MENUITEM SEPARATOR
  125. MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  126. MENUITEM SEPARATOR
  127. MENUITEM "E&xit",                       ID_APP_EXIT
  128. END
  129. POPUP "&Edit"
  130. BEGIN
  131. MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  132. MENUITEM SEPARATOR
  133. MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  134. MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  135. MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  136. MENUITEM "Clear &All",                  ID_EDIT_CLEAR_ALL
  137. END
  138. POPUP "&Pen"
  139. BEGIN
  140. MENUITEM "Thick &Line",                 ID_PEN_THICK_OR_THIN
  141. MENUITEM "Pen &Widths...",              ID_PEN_WIDTHS
  142. END
  143. POPUP "&View"
  144. BEGIN
  145. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  146. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  147. END
  148. POPUP "&Window"
  149. BEGIN
  150. MENUITEM "&New Window",                 ID_WINDOW_NEW
  151. MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  152. MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  153. MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  154. END
  155. POPUP "&Help"
  156. BEGIN
  157. MENUITEM "&Help Topics",                ID_HELP_FINDER
  158. MENUITEM SEPARATOR
  159. MENUITEM "&About Scribble...",          ID_APP_ABOUT
  160. END
  161. END
  162. IDR_SCRIBBTYPE_SRVR_EMB MENU DISCARDABLE
  163. BEGIN
  164. POPUP "&File"
  165. BEGIN
  166. MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  167. MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  168. MENUITEM "&Close",                      ID_FILE_CLOSE
  169. MENUITEM "&UpdatetCtrl+S",             ID_FILE_UPDATE
  170. MENUITEM "Save Copy &As...",            ID_FILE_SAVE_COPY_AS
  171. MENUITEM SEPARATOR
  172. MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  173. MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  174. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  175. MENUITEM SEPARATOR
  176. MENUITEM "Sen&d...",                    ID_FILE_SEND_MAIL
  177. MENUITEM SEPARATOR
  178. MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  179. MENUITEM SEPARATOR
  180. MENUITEM "E&xit",                       ID_APP_EXIT
  181. END
  182. POPUP "&Edit"
  183. BEGIN
  184. MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  185. MENUITEM SEPARATOR
  186. MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  187. MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  188. MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  189. MENUITEM "Clear &All",                  ID_EDIT_CLEAR_ALL
  190. END
  191. POPUP "&Pen"
  192. BEGIN
  193. MENUITEM "Thick &Line",                 ID_PEN_THICK_OR_THIN
  194. MENUITEM "Pen &Widths...",              ID_PEN_WIDTHS
  195. END
  196. POPUP "&View"
  197. BEGIN
  198. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  199. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  200. END
  201. POPUP "&Window"
  202. BEGIN
  203. MENUITEM "&New Window",                 ID_WINDOW_NEW
  204. MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  205. MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  206. MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  207. END
  208. POPUP "&Help"
  209. BEGIN
  210. MENUITEM "&Help Topics",                ID_HELP_FINDER
  211. MENUITEM SEPARATOR
  212. MENUITEM "&About Scribble...",          ID_APP_ABOUT
  213. END
  214. END
  215. IDR_SCRIBBTYPE_SRVR_IP MENU PRELOAD DISCARDABLE
  216. BEGIN
  217. POPUP "&Edit"
  218. BEGIN
  219. MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  220. MENUITEM SEPARATOR
  221. MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  222. MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  223. MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  224. MENUITEM "Clear &All",                  ID_EDIT_CLEAR_ALL
  225. END
  226. POPUP "&Pen"
  227. BEGIN
  228. MENUITEM "Thick &Line",                 ID_PEN_THICK_OR_THIN
  229. MENUITEM "Pen &Widths...",              ID_PEN_WIDTHS
  230. END
  231. POPUP "&View"
  232. BEGIN
  233. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  234. END
  235. MENUITEM SEPARATOR
  236. MENUITEM SEPARATOR
  237. POPUP "&Help"
  238. BEGIN
  239. MENUITEM "&Help Topics",                ID_HELP_FINDER
  240. MENUITEM SEPARATOR
  241. MENUITEM "&About Scribble...",          ID_APP_ABOUT
  242. END
  243. END
  244. /////////////////////////////////////////////////////////////////////////////
  245. //
  246. // Accelerator
  247. //
  248. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  249. BEGIN
  250. "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  251. "N",            ID_FILE_NEW,            VIRTKEY, CONTROL, NOINVERT
  252. "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL, NOINVERT
  253. "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL, NOINVERT
  254. "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL, NOINVERT
  255. "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL, NOINVERT
  256. VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT, NOINVERT
  257. VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT, NOINVERT
  258. VK_F1,          ID_HELP,                VIRTKEY, NOINVERT
  259. VK_F1,          ID_CONTEXT_HELP,        VIRTKEY, SHIFT, NOINVERT
  260. VK_F6,          ID_NEXT_PANE,           VIRTKEY, NOINVERT
  261. VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT, NOINVERT
  262. VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  263. VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT, NOINVERT
  264. "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL, NOINVERT
  265. "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL, NOINVERT
  266. END
  267. IDR_SCRIBBTYPE_SRVR_EMB ACCELERATORS PRELOAD MOVEABLE PURE
  268. BEGIN
  269. "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  270. "N",            ID_FILE_NEW,            VIRTKEY, CONTROL, NOINVERT
  271. "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL, NOINVERT
  272. "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL, NOINVERT
  273. "S",            ID_FILE_UPDATE,         VIRTKEY, CONTROL, NOINVERT
  274. "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL, NOINVERT
  275. VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT, NOINVERT
  276. VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT, NOINVERT
  277. VK_F1,          ID_HELP,                VIRTKEY, NOINVERT
  278. VK_F1,          ID_CONTEXT_HELP,        VIRTKEY, SHIFT, NOINVERT
  279. VK_F6,          ID_NEXT_PANE,           VIRTKEY, NOINVERT
  280. VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT, NOINVERT
  281. VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  282. VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT, NOINVERT
  283. "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL, NOINVERT
  284. "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL, NOINVERT
  285. END
  286. IDR_SCRIBBTYPE_SRVR_IP ACCELERATORS PRELOAD MOVEABLE PURE
  287. BEGIN
  288. "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  289. "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL, NOINVERT
  290. VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT, NOINVERT
  291. VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT, NOINVERT
  292. VK_ESCAPE,      ID_CANCEL_EDIT_SRVR,    VIRTKEY, NOINVERT
  293. VK_F1,          ID_HELP,                VIRTKEY, NOINVERT
  294. VK_F1,          ID_CONTEXT_HELP,        VIRTKEY, SHIFT, NOINVERT
  295. VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  296. VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT, NOINVERT
  297. "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL, NOINVERT
  298. "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL, NOINVERT
  299. END
  300. /////////////////////////////////////////////////////////////////////////////
  301. //
  302. // Dialog
  303. //
  304. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  305. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  306. CAPTION "About Scribble"
  307. FONT 8, "MS Sans Serif"
  308. BEGIN
  309. ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  310. LTEXT           "Scribble Version 1.0",IDC_STATIC,40,10,119,8
  311. LTEXT           "Copyright