OLEDBTextConsumer.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\OLEDBTextConsumer.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\OLEDBTextConsumer.ico"
  59. IDR_OLEDBTTYPE          ICON    DISCARDABLE     "res\OLEDBTextConsumerDoc.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.     SEPARATOR
  83.     BUTTON      ID_APP_ABOUT
  84. END
  85. /////////////////////////////////////////////////////////////////////////////
  86. //
  87. // Menu
  88. //
  89. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  90. BEGIN
  91.     POPUP "&File"
  92.     BEGIN
  93.         MENUITEM "E&xit",                       ID_APP_EXIT
  94.     END
  95.     POPUP "&Edit"
  96.     BEGIN
  97.         MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  98.         MENUITEM SEPARATOR
  99.         MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  100.         MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  101.         MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  102.     END
  103.     POPUP "&Record"
  104.     BEGIN
  105.         MENUITEM "&First Record",               ID_RECORD_FIRST
  106.         MENUITEM "&Previous Record",            ID_RECORD_PREV
  107.         MENUITEM "&Next Record",                ID_RECORD_NEXT
  108.         MENUITEM "&Last Record",                ID_RECORD_LAST
  109.     END
  110.     POPUP "&View"
  111.     BEGIN
  112.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  113.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  114.     END
  115.     POPUP "&Help"
  116.     BEGIN
  117.         MENUITEM "&About OLEDBTextConsumer...", ID_APP_ABOUT
  118.     END
  119. END
  120. /////////////////////////////////////////////////////////////////////////////
  121. //
  122. // Accelerator
  123. //
  124. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  125. BEGIN
  126.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  127.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  128.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  129.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  130.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  131.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  132.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  133.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  134.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  135.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  136. END
  137. /////////////////////////////////////////////////////////////////////////////
  138. //
  139. // Dialog
  140. //
  141. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 235, 55
  142. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  143. CAPTION "About OLEDBTextConsumer"
  144. FONT 8, "MS Sans Serif"
  145. BEGIN
  146.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  147.     LTEXT           "OLEDBTextConsumer Version 1.0",IDC_STATIC,40,10,119,8,
  148.                     SS_NOPREFIX
  149.     LTEXT           "Copyright (C) 1999",IDC_STATIC,40,25,119,8
  150.     DEFPUSHBUTTON   "OK",IDOK,178,7,50,14,WS_GROUP
  151. END
  152. IDD_OLEDBTEXTCONSUMER_FORM DIALOG DISCARDABLE  0, 0, 254, 130
  153. STYLE WS_CHILD
  154. FONT 8, "MS Sans Serif"
  155. BEGIN
  156.     EDITTEXT        IDC_CLASS,49,7,198,14,ES_AUTOHSCROLL
  157.     EDITTEXT        IDC_SECTION,49,22,198,14,ES_AUTOHSCROLL
  158.     EDITTEXT        IDC_YEAR,49,36,198,14,ES_AUTOHSCROLL
  159.     EDITTEXT        IDC_TERM,49,51,198,14,ES_AUTOHSCROLL
  160.     EDITTEXT        IDC_INSTRUCTOR,49,65,198,14,ES_AUTOHSCROLL
  161.     EDITTEXT        IDC_ASSIGNMENT,49,80,198,14,ES_AUTOHSCROLL
  162.     EDITTEXT        IDC_SCORE,49,95,198,14,ES_AUTOHSCROLL
  163.     EDITTEXT        IDC_STUDENT,49,109,198,14,ES_AUTOHSCROLL
  164.     LTEXT           "Class:",IDC_STATIC,26,10,20,8
  165.     LTEXT           "Section:",IDC_STATIC,19,25,27,8
  166.     LTEXT           "Year:",IDC_STATIC,28,39,18,8
  167.     LTEXT           "Term:",IDC_STATIC,27,54,19,8
  168.     LTEXT           "Instructor:",IDC_STATIC,14,68,32,8
  169.     LTEXT           "Assignment:",IDC_STATIC,7,83,39,8
  170.     LTEXT           "Student:",IDC_STATIC,18,112,28,8
  171.     LTEXT           "Score:",IDC_STATIC,24,97,22,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", "OLEDBTextConsumer MFC Application"
  197.             VALUE "FileVersion", "1, 0, 0, 1"
  198.             VALUE "InternalName", "OLEDBTextConsumer"
  199.             VALUE "LegalCopyright", "Copyright (C) 1999"
  200.             VALUE "LegalTrademarks", ""
  201.             VALUE "OriginalFilename", "OLEDBTextConsumer.EXE"
  202.             VALUE "ProductName", "OLEDBTextConsumer 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_OLEDBTEXTCONSUMER_FORM, DIALOG
  227.     BEGIN
  228.         LEFTMARGIN, 7
  229.         RIGHTMARGIN, 247
  230.         TOPMARGIN, 7
  231.         BOTTOMMARGIN, 123
  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           "OLEDBTextConsumernnOLEDBTnnnOLEDBTextConsumer.DocumentnOLEDBT Document"
  246. END
  247. STRINGTABLE PRELOAD DISCARDABLE 
  248. BEGIN
  249.     AFX_IDS_APP_TITLE       "OLEDBTextConsumer"
  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. #endif    // English (U.S.) resources
  341. /////////////////////////////////////////////////////////////////////////////
  342. #ifndef APSTUDIO_INVOKED
  343. /////////////////////////////////////////////////////////////////////////////
  344. //
  345. // Generated from the TEXTINCLUDE 3 resource.
  346. //
  347. #define _AFX_NO_SPLITTER_RESOURCES
  348. #define _AFX_NO_OLE_RESOURCES
  349. #define _AFX_NO_TRACKER_RESOURCES
  350. #define _AFX_NO_PROPERTY_RESOURCES
  351. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  352. #ifdef _WIN32
  353. LANGUAGE 9, 1
  354. #pragma code_page(1252)
  355. #endif //_WIN32
  356. #include "resOLEDBTextConsumer.rc2"  // non-Microsoft Visual C++ edited resources
  357. #include "afxres.rc"         // Standard components
  358. #include "afxdb.rc"          // Database resources
  359. #endif
  360. /////////////////////////////////////////////////////////////////////////////
  361. #endif    // not APSTUDIO_INVOKED