SampleReport.rc
上传用户:jimmy1212
上传日期:2020-11-02
资源大小:40k
文件大小:11k
源码类别:

Static控件

开发平台:

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