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

书籍源码

开发平台:

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