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