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

书籍源码

开发平台:

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