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