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