demo.rc
上传用户:apnc006
上传日期:2013-01-26
资源大小:178k
文件大小:12k
源码类别:

绘图程序

开发平台:

Visual C++

  1. //Microsoft Visual C++ 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. #ifdef APSTUDIO_INVOKED
  13. /////////////////////////////////////////////////////////////////////////////
  14. //
  15. // TEXTINCLUDE
  16. //
  17. 1 TEXTINCLUDE DISCARDABLE 
  18. BEGIN
  19. "resource.h"
  20. END
  21. 2 TEXTINCLUDE DISCARDABLE 
  22. BEGIN
  23. "#include ""afxres.h""rn"
  24. ""
  25. END
  26. 3 TEXTINCLUDE DISCARDABLE 
  27. BEGIN
  28.     "#define _AFX_NO_SPLITTER_RESOURCESrn"
  29.     "#define _AFX_NO_OLE_RESOURCESrn"
  30.     "#define _AFX_NO_TRACKER_RESOURCESrn"
  31.     "#define _AFX_NO_PROPERTY_RESOURCESrn"
  32. "rn"
  33. "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)rn"
  34. "#ifdef _WIN32rn"
  35. "LANGUAGE 9, 1rn"
  36. "#pragma code_page(1252)rn"
  37. "#endifrn"
  38. "#include ""res\demo.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  39. "#include ""afxres.rc""   // Standard componentsrn"
  40. "#include ""afxprint.rc"" // printing/print preview resourcesrn"
  41. "#endif"
  42. ""
  43. END
  44. #endif    // APSTUDIO_INVOKED
  45. /////////////////////////////////////////////////////////////////////////////
  46. //
  47. // Icon
  48. //
  49. // Icon with lowest ID value placed first to ensure application icon
  50. // remains consistent on all systems.
  51. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  52. #ifdef _WIN32
  53. LANGUAGE 9, 1
  54. #pragma code_page(1252)
  55. #endif
  56. IDR_MAINFRAME           ICON    DISCARDABLE     "res\demo.ico"
  57. IDR_DEMOTYPE         ICON    DISCARDABLE     "res\demoDoc.ico"
  58. #endif
  59. /////////////////////////////////////////////////////////////////////////////
  60. //
  61. // Bitmap
  62. //
  63. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\Toolbar.bmp"
  64. /////////////////////////////////////////////////////////////////////////////
  65. //
  66. // Toolbar
  67. //
  68. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  69. BEGIN
  70.     BUTTON      ID_FILE_NEW
  71.     BUTTON      ID_FILE_OPEN
  72.     BUTTON      ID_FILE_SAVE
  73. SEPARATOR
  74.     BUTTON      ID_EDIT_CUT
  75.     BUTTON      ID_EDIT_COPY
  76.     BUTTON      ID_EDIT_PASTE
  77. SEPARATOR
  78.     BUTTON      ID_FILE_PRINT
  79.     BUTTON      ID_APP_ABOUT
  80. END
  81. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  82. #ifdef _WIN32
  83. LANGUAGE 9, 1
  84. #pragma code_page(1252)
  85. #endif
  86. /////////////////////////////////////////////////////////////////////////////
  87. //
  88. // Menu
  89. //
  90. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  91. BEGIN
  92. POPUP "&File"
  93. BEGIN
  94. MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  95. MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  96. MENUITEM SEPARATOR
  97. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  98. MENUITEM SEPARATOR
  99. MENUITEM "Recent File",                 ID_FILE_MRU_FILE1,GRAYED
  100. MENUITEM SEPARATOR
  101. MENUITEM "E&xit",                       ID_APP_EXIT
  102. END
  103. POPUP "&View"
  104. BEGIN
  105. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  106. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  107. END
  108. POPUP "&Help"
  109. BEGIN
  110. MENUITEM "&About demo...",          ID_APP_ABOUT
  111. END
  112. END
  113. IDR_DEMOTYPE MENU PRELOAD DISCARDABLE 
  114. BEGIN
  115. POPUP "&File"
  116. BEGIN
  117. MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  118. MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  119. MENUITEM "&Close",                      ID_FILE_CLOSE
  120. MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  121. MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  122. MENUITEM SEPARATOR
  123. MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  124. MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  125. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  126. MENUITEM SEPARATOR
  127. MENUITEM "Recent File",                 ID_FILE_MRU_FILE1,GRAYED
  128. MENUITEM SEPARATOR
  129. MENUITEM "E&xit",                       ID_APP_EXIT
  130. END
  131. POPUP "&Edit"
  132. BEGIN
  133. MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  134. MENUITEM SEPARATOR
  135. MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  136. MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  137. MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  138. END
  139. POPUP "&View"
  140. BEGIN
  141. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  142. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  143. END
  144. POPUP "&Window"
  145. BEGIN
  146. MENUITEM "&New Window",                 ID_WINDOW_NEW
  147. MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  148. MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  149. MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  150. END
  151. POPUP "&Help"
  152. BEGIN
  153. MENUITEM "&About demo...",          ID_APP_ABOUT
  154. END
  155. END
  156. /////////////////////////////////////////////////////////////////////////////
  157. //
  158. // Accelerator
  159. //
  160. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  161. BEGIN
  162. "N",            ID_FILE_NEW,            VIRTKEY,CONTROL
  163. "O",            ID_FILE_OPEN,           VIRTKEY,CONTROL
  164. "S",            ID_FILE_SAVE,           VIRTKEY,CONTROL
  165. "P",            ID_FILE_PRINT,          VIRTKEY,CONTROL
  166. "Z",            ID_EDIT_UNDO,           VIRTKEY,CONTROL
  167. "X",            ID_EDIT_CUT,            VIRTKEY,CONTROL
  168. "C",            ID_EDIT_COPY,           VIRTKEY,CONTROL
  169. "V",            ID_EDIT_PASTE,          VIRTKEY,CONTROL
  170. VK_BACK,        ID_EDIT_UNDO,           VIRTKEY,ALT
  171. VK_DELETE,      ID_EDIT_CUT,            VIRTKEY,SHIFT
  172. VK_INSERT,      ID_EDIT_COPY,           VIRTKEY,CONTROL
  173. VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY,SHIFT
  174. VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  175. VK_F6,          ID_PREV_PANE,           VIRTKEY,SHIFT
  176. END
  177. /////////////////////////////////////////////////////////////////////////////
  178. //
  179. // Dialog
  180. //
  181. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  182. CAPTION "About demo"
  183. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  184. FONT 8, "MS Sans Serif"
  185. BEGIN
  186. ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  187. LTEXT           "demo Version 1.0",IDC_STATIC,40,10,119,8,
  188.                     SS_NOPREFIX
  189. LTEXT           "Copyright (C) 1998",IDC_STATIC,40,25,119,8
  190. DEFPUSHBUTTON   "OK",IDOK,178,7,32,14,WS_GROUP
  191. END
  192. /////////////////////////////////////////////////////////////////////////////
  193. //
  194. // Version
  195. //
  196. VS_VERSION_INFO     VERSIONINFO
  197.   FILEVERSION       1,0,0,1
  198.   PRODUCTVERSION    1,0,0,1
  199.  FILEFLAGSMASK 0x3fL
  200. #ifdef _DEBUG
  201.  FILEFLAGS 0x1L
  202. #else
  203.  FILEFLAGS 0x0L
  204. #endif
  205.  FILEOS 0x4L
  206.  FILETYPE 0x1L
  207.  FILESUBTYPE 0x0L
  208. BEGIN
  209. BLOCK "StringFileInfo"
  210. BEGIN
  211.         BLOCK "040904B0"
  212. BEGIN 
  213. VALUE "CompanyName",     ""
  214. VALUE "FileDescription", "demo MFC Application"
  215. VALUE "FileVersion",     "1, 0, 0, 1"
  216. VALUE "InternalName",    "demo"
  217. VALUE "LegalCopyright",  "Copyright (C) 1998"
  218. VALUE "LegalTrademarks", ""
  219. VALUE "OriginalFilename","demo.EXE"
  220. VALUE "ProductName",     "demo Application"
  221. VALUE "ProductVersion",  "1, 0, 0, 1"
  222. END
  223. END
  224. BLOCK "VarFileInfo" 
  225. BEGIN 
  226. VALUE "Translation", 0x409, 1200
  227.     END
  228. END
  229. /////////////////////////////////////////////////////////////////////////////
  230. //
  231. // DESIGNINFO
  232. //
  233. #ifdef APSTUDIO_INVOKED
  234. GUIDELINES DESIGNINFO DISCARDABLE 
  235. BEGIN
  236.     IDD_ABOUTBOX, DIALOG
  237.     BEGIN
  238.         LEFTMARGIN, 7
  239.         RIGHTMARGIN, 210
  240.         TOPMARGIN, 7
  241.         BOTTOMMARGIN, 48
  242.     END
  243. END
  244. #endif    // APSTUDIO_INVOKED
  245. /////////////////////////////////////////////////////////////////////////////
  246. //
  247. // String Table
  248. //
  249. STRINGTABLE PRELOAD DISCARDABLE 
  250. BEGIN
  251. IDR_MAINFRAME           "demo"
  252. IDR_DEMOTYPE         "nDemonDemonnnDemo.DocumentnDemo Document"
  253. END
  254. STRINGTABLE PRELOAD DISCARDABLE 
  255. BEGIN
  256. AFX_IDS_APP_TITLE       "demo"
  257. AFX_IDS_IDLEMESSAGE     "Ready"
  258. END
  259. STRINGTABLE DISCARDABLE 
  260. BEGIN
  261. ID_INDICATOR_EXT        "EXT"
  262. ID_INDICATOR_CAPS       "CAP"
  263. ID_INDICATOR_NUM        "NUM"
  264. ID_INDICATOR_SCRL       "SCRL"
  265. ID_INDICATOR_OVR        "OVR"
  266. ID_INDICATOR_REC        "REC"
  267. END
  268. STRINGTABLE DISCARDABLE 
  269. BEGIN
  270. ID_FILE_NEW             "Create a new documentnNew"
  271. ID_FILE_OPEN            "Open an existing documentnOpen"
  272. ID_FILE_CLOSE           "Close the active documentnClose"
  273. ID_FILE_SAVE            "Save the active documentnSave"
  274. ID_FILE_SAVE_AS         "Save the active document with a new namenSave As"
  275. ID_FILE_PAGE_SETUP      "Change the printing optionsnPage Setup"
  276. ID_FILE_PRINT_SETUP     "Change the printer and printing optionsnPrint Setup"
  277. ID_FILE_PRINT           "Print the active documentnPrint"
  278. ID_FILE_PRINT_PREVIEW   "Display full pagesnPrint Preview"
  279. ID_APP_ABOUT            "Display program information, version number and copyrightnAbout"
  280. ID_APP_EXIT             "Quit the application; prompts to save documentsnExit"
  281. ID_FILE_MRU_FILE1       "Open this document"
  282. ID_FILE_MRU_FILE2       "Open this document"
  283. ID_FILE_MRU_FILE3       "Open this document"
  284. ID_FILE_MRU_FILE4       "Open this document"
  285. ID_FILE_MRU_FILE5       "Open this document"
  286. ID_FILE_MRU_FILE6       "Open this document"
  287. ID_FILE_MRU_FILE7       "Open this document"
  288. ID_FILE_MRU_FILE8       "Open this document"
  289. ID_FILE_MRU_FILE9       "Open this document"
  290. ID_FILE_MRU_FILE10      "Open this document"
  291. ID_FILE_MRU_FILE11      "Open this document"
  292. ID_FILE_MRU_FILE12      "Open this document"
  293. ID_FILE_MRU_FILE13      "Open this document"
  294. ID_FILE_MRU_FILE14      "Open this document"
  295. ID_FILE_MRU_FILE15      "Open this document"
  296. ID_FILE_MRU_FILE16      "Open this document"
  297. ID_NEXT_PANE            "Switch to the next window panenNext Pane"
  298. ID_PREV_PANE            "Switch back to the previous window panenPrevious Pane"
  299. ID_WINDOW_NEW           "Open another window for the active documentnNew Window"
  300. ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the windownArrange Icons"
  301. ID_WINDOW_CASCADE       "Arrange windows so they overlapnCascade Windows"
  302. ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tilesnTile Windows"
  303. ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tilesnTile Windows"
  304. ID_WINDOW_SPLIT         "Split the active window into panesnSplit"
  305. ID_EDIT_CLEAR           "Erase the selectionnErase"
  306. ID_EDIT_CLEAR_ALL       "Erase everythingnErase All"
  307. ID_EDIT_COPY            "Copy the selection and put it on the ClipboardnCopy"
  308. ID_EDIT_CUT             "Cut the selection and put it on the ClipboardnCut"
  309. ID_EDIT_FIND            "Find the specified textnFind"
  310. ID_EDIT_PASTE           "Insert Clipboard contentsnPaste"
  311. ID_EDIT_REPEAT          "Repeat the last actionnRepeat"
  312. ID_EDIT_REPLACE         "Replace specific text with different textnReplace"
  313. ID_EDIT_SELECT_ALL      "Select the entire documentnSelect All"
  314. ID_EDIT_UNDO            "Undo the last actionnUndo"
  315. ID_EDIT_REDO            "Redo the previously undone actionnRedo"
  316. ID_VIEW_TOOLBAR         "Show or hide the toolbarnToggle ToolBar"
  317. ID_VIEW_STATUS_BAR      "Show or hide the status barnToggle StatusBar"
  318. END
  319. STRINGTABLE DISCARDABLE 
  320. BEGIN
  321. AFX_IDS_SCSIZE          "Change the window size"
  322. AFX_IDS_SCMOVE          "Change the window position"
  323. AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  324. AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  325. AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  326. AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  327. AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  328. AFX_IDS_SCRESTORE       "Restore the window to normal size"
  329. AFX_IDS_SCTASKLIST      "Activate Task List"
  330. AFX_IDS_MDICHILD        "Activate this window"
  331. AFX_IDS_PREVIEW_CLOSE   "Close print preview modenCancel Preview"
  332. END
  333. #endif
  334. #ifndef APSTUDIO_INVOKED
  335. /////////////////////////////////////////////////////////////////////////////
  336. //
  337. // Generated from the TEXTINCLUDE 3 resource.
  338. //
  339. #define _AFX_NO_SPLITTER_RESOURCES
  340. #define _AFX_NO_OLE_RESOURCES
  341. #define _AFX_NO_TRACKER_RESOURCES
  342. #define _AFX_NO_PROPERTY_RESOURCES
  343. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  344. #ifdef _WIN32
  345. LANGUAGE 9, 1
  346. #pragma code_page(1252)
  347. #endif
  348. #include "res\demo.rc2"  // non-Microsoft Visual C++ edited resources
  349. #include "afxres.rc"   // Standard components
  350. #include "afxprint.rc"  // printing/print preview resources
  351. #endif
  352. #endif    // not APSTUDIO_INVOKED