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

书籍源码

开发平台:

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