OLEDBReportMFC.rc
上传用户:benben_wyd
上传日期:2010-02-26
资源大小:1229k
文件大小:12k
源码类别:

书籍源码

开发平台:

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