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