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

书籍源码

开发平台:

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