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