home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / general / dbvlist / dbvlist.rc < prev    next >
Encoding:
Text File  |  1998-04-03  |  11.7 KB  |  424 lines

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4.  
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #include "afxres.h"
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. #undef APSTUDIO_READONLY_SYMBOLS
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // English (U.S.) resources
  17.  
  18. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  19. #ifdef _WIN32
  20. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  21. #pragma code_page(1252)
  22. #endif //_WIN32
  23.  
  24. #ifdef APSTUDIO_INVOKED
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // TEXTINCLUDE
  28. //
  29.  
  30. 1 TEXTINCLUDE DISCARDABLE
  31. BEGIN
  32.     "resource.h\0"
  33. END
  34.  
  35. 2 TEXTINCLUDE DISCARDABLE
  36. BEGIN
  37.     "#include ""afxres.h""\r\n"
  38.     "\0"
  39. END
  40.  
  41. 3 TEXTINCLUDE DISCARDABLE
  42. BEGIN
  43.     "#define _AFX_NO_OLE_RESOURCES\r\n"
  44.     "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  45.     "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  46.     "\r\n"
  47.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
  48.     "#ifdef _WIN32\r\n"
  49.     "LANGUAGE 9, 1\r\n"
  50.     "#pragma code_page(1252)\r\n"
  51.     "#endif\r\n"
  52.     "#include ""res\\DBVList.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
  53.     "#include ""afxres.rc""         // Standard components\r\n"
  54.     "#include ""afxdb.rc""          // Database resources\r\n"
  55.     "#endif\0"
  56. END
  57.  
  58. #endif    // APSTUDIO_INVOKED
  59.  
  60.  
  61. /////////////////////////////////////////////////////////////////////////////
  62. //
  63. // Icon
  64. //
  65.  
  66. // Icon with lowest ID value placed first to ensure application icon
  67. // remains consistent on all systems.
  68. IDR_MAINFRAME           ICON    DISCARDABLE     "res\\DBVList.ico"
  69. IDR_DBVLISTYPE          ICON    DISCARDABLE     "res\\DBVListDoc.ico"
  70.  
  71. /////////////////////////////////////////////////////////////////////////////
  72. //
  73. // Bitmap
  74. //
  75.  
  76. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\\Toolbar.bmp"
  77.  
  78. /////////////////////////////////////////////////////////////////////////////
  79. //
  80. // Toolbar
  81. //
  82.  
  83. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  84. BEGIN
  85.     BUTTON      ID_EDIT_CUT
  86.     BUTTON      ID_EDIT_COPY
  87.     BUTTON      ID_EDIT_PASTE
  88.     SEPARATOR
  89.     BUTTON      ID_APP_ABOUT
  90. END
  91.  
  92.  
  93. /////////////////////////////////////////////////////////////////////////////
  94. //
  95. // Menu
  96. //
  97.  
  98. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  99. BEGIN
  100.     POPUP "&File"
  101.     BEGIN
  102.         MENUITEM "E&xit",                       ID_APP_EXIT
  103.     END
  104.     POPUP "&Edit"
  105.     BEGIN
  106.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  107.         MENUITEM SEPARATOR
  108.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  109.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  110.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  111.     END
  112.     POPUP "&Record"
  113.     BEGIN
  114.         MENUITEM "&First Record",               ID_RECORD_FIRST
  115.         MENUITEM "&Previous Record",            ID_RECORD_PREV
  116.         MENUITEM "&Next Record",                ID_RECORD_NEXT
  117.         MENUITEM "&Last Record",                ID_RECORD_LAST
  118.     END
  119.     POPUP "&View"
  120.     BEGIN
  121.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  122.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  123.         MENUITEM "S&plit",                      ID_WINDOW_SPLIT
  124.     END
  125.     POPUP "&Help"
  126.     BEGIN
  127.         MENUITEM "&About DBVList...",           ID_APP_ABOUT
  128.     END
  129. END
  130.  
  131.  
  132. /////////////////////////////////////////////////////////////////////////////
  133. //
  134. // Accelerator
  135. //
  136.  
  137. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  138. BEGIN
  139.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  140.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  141.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  142.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  143.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  144.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  145.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  146.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  147.     VK_F6,          ID_NEXT_PANE,           VIRTKEY
  148.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  149. END
  150.  
  151.  
  152. /////////////////////////////////////////////////////////////////////////////
  153. //
  154. // Dialog
  155. //
  156.  
  157. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  158. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  159. CAPTION "About DBVList"
  160. FONT 8, "MS Sans Serif"
  161. BEGIN
  162.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  163.     LTEXT           "DBVList Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX
  164.     LTEXT           "Copyright (C) 1998",IDC_STATIC,40,38,119,8
  165.     DEFPUSHBUTTON   "OK",IDOK,178,7,32,14,WS_GROUP
  166.     LTEXT           "Author: David S. Miller",IDC_STATIC,40,24,119,8
  167. END
  168.  
  169. IDD_DBVLIST_FORM DIALOG DISCARDABLE  0, 0, 354, 49
  170. STYLE WS_CHILD
  171. FONT 8, "MS Sans Serif"
  172. BEGIN
  173.     PUSHBUTTON      "Fetch Results",IDC_FETCH,249,19,50,14
  174.     COMBOBOX        IDC_DIV,61,20,77,70,CBS_DROPDOWN | CBS_SORT | WS_VSCROLL |
  175.                     WS_TABSTOP
  176. END
  177.  
  178.  
  179. #ifndef _MAC
  180. /////////////////////////////////////////////////////////////////////////////
  181. //
  182. // Version
  183. //
  184.  
  185. VS_VERSION_INFO VERSIONINFO
  186.  FILEVERSION 1,0,0,1
  187.  PRODUCTVERSION 1,0,0,1
  188.  FILEFLAGSMASK 0x3fL
  189. #ifdef _DEBUG
  190.  FILEFLAGS 0x1L
  191. #else
  192.  FILEFLAGS 0x0L
  193. #endif
  194.  FILEOS 0x4L
  195.  FILETYPE 0x1L
  196.  FILESUBTYPE 0x0L
  197. BEGIN
  198.     BLOCK "StringFileInfo"
  199.     BEGIN
  200.         BLOCK "040904B0"
  201.         BEGIN
  202.             VALUE "CompanyName", "\0"
  203.             VALUE "FileDescription", "DBVList MFC Application\0"
  204.             VALUE "FileVersion", "1, 0, 0, 1\0"
  205.             VALUE "InternalName", "DBVList\0"
  206.             VALUE "LegalCopyright", "Copyright (C) 1998\0"
  207.             VALUE "LegalTrademarks", "\0"
  208.             VALUE "OriginalFilename", "DBVList.EXE\0"
  209.             VALUE "ProductName", "DBVList Application\0"
  210.             VALUE "ProductVersion", "1, 0, 0, 1\0"
  211.         END
  212.     END
  213.     BLOCK "VarFileInfo"
  214.     BEGIN
  215.         VALUE "Translation", 0x409, 1200
  216.     END
  217. END
  218.  
  219. #endif    // !_MAC
  220.  
  221.  
  222. /////////////////////////////////////////////////////////////////////////////
  223. //
  224. // DESIGNINFO
  225. //
  226.  
  227. #ifdef APSTUDIO_INVOKED
  228. GUIDELINES DESIGNINFO DISCARDABLE
  229. BEGIN
  230.     IDD_ABOUTBOX, DIALOG
  231.     BEGIN
  232.         LEFTMARGIN, 7
  233.         RIGHTMARGIN, 210
  234.         TOPMARGIN, 7
  235.         BOTTOMMARGIN, 48
  236.     END
  237.  
  238.     IDD_DBVLIST_FORM, DIALOG
  239.     BEGIN
  240.         LEFTMARGIN, 7
  241.         RIGHTMARGIN, 347
  242.         TOPMARGIN, 7
  243.         BOTTOMMARGIN, 42
  244.     END
  245. END
  246. #endif    // APSTUDIO_INVOKED
  247.  
  248.  
  249. /////////////////////////////////////////////////////////////////////////////
  250. //
  251. // Dialog Info
  252. //
  253.  
  254. IDD_DBVLIST_FORM DLGINIT
  255. BEGIN
  256.     IDC_DIV, 0x403, 17, 0
  257. 0x7542, 0x6973, 0x656e, 0x7373, 0x5320, 0x7379, 0x6574, 0x736d, "\000"
  258.     IDC_DIV, 0x403, 9, 0
  259. 0x6f43, 0x736e, 0x6d75, 0x7265, "\000"
  260.     IDC_DIV, 0x403, 8, 0
  261. 0x6544, 0x6b73, 0x6f74, 0x0070,
  262.     IDC_DIV, 0x403, 10, 0
  263. 0x6544, 0x6576, 0x6f6c, 0x6570, 0x0072,
  264.     IDC_DIV, 0x403, 6, 0
  265. 0x2046, 0x2026, 0x0041,
  266.     IDC_DIV, 0x403, 21, 0
  267. 0x6e49, 0x6574, 0x6e72, 0x7461, 0x6f69, 0x616e, 0x206c, 0x704f, 0x7265,
  268. 0x7461, "\000"
  269.     IDC_DIV, 0x403, 19, 0
  270. 0x6e49, 0x6574, 0x6e72, 0x7461, 0x6f69, 0x616e, 0x206c, 0x7553, 0x7362,
  271. "\000"
  272.     IDC_DIV, 0x403, 21, 0
  273. 0x614c, 0x2077, 0x2026, 0x6f43, 0x7072, 0x726f, 0x7461, 0x2065, 0x6641,
  274. 0x6166, "\000"
  275.     IDC_DIV, 0x403, 21, 0
  276. 0x704f, 0x7265, 0x7461, 0x6f69, 0x736e, 0x5320, 0x7265, 0x6976, 0x6563,
  277. 0x4320, "\000"
  278.     IDC_DIV, 0x403, 21, 0
  279. 0x6550, 0x7372, 0x6e6f, 0x6c61, 0x5320, 0x7379, 0x6574, 0x736d, 0x4420,
  280. 0x7669, "\000"
  281.     0
  282. END
  283.  
  284.  
  285. /////////////////////////////////////////////////////////////////////////////
  286. //
  287. // String Table
  288. //
  289.  
  290. STRINGTABLE DISCARDABLE
  291. BEGIN
  292.     IDP_FAILED_OPEN_DATABASE "Cannot open database."
  293. END
  294.  
  295. STRINGTABLE PRELOAD DISCARDABLE
  296. BEGIN
  297.     IDR_MAINFRAME           "DBVList\n\nDBVLis\n\n\nDBVList.Document\nDBVLis Document"
  298. END
  299.  
  300. STRINGTABLE PRELOAD DISCARDABLE
  301. BEGIN
  302.     AFX_IDS_APP_TITLE       "DBVList"
  303.     AFX_IDS_IDLEMESSAGE     "Ready"
  304. END
  305.  
  306. STRINGTABLE DISCARDABLE
  307. BEGIN
  308.     ID_INDICATOR_EXT        "EXT"
  309.     ID_INDICATOR_CAPS       "CAP"
  310.     ID_INDICATOR_NUM        "NUM"
  311.     ID_INDICATOR_SCRL       "SCRL"
  312.     ID_INDICATOR_OVR        "OVR"
  313.     ID_INDICATOR_REC        "REC"
  314. END
  315.  
  316. STRINGTABLE DISCARDABLE
  317. BEGIN
  318.     ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"
  319.     ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"
  320. END
  321.  
  322. STRINGTABLE DISCARDABLE
  323. BEGIN
  324.     ID_FILE_MRU_FILE1       "Open this document"
  325.     ID_FILE_MRU_FILE2       "Open this document"
  326.     ID_FILE_MRU_FILE3       "Open this document"
  327.     ID_FILE_MRU_FILE4       "Open this document"
  328.     ID_FILE_MRU_FILE5       "Open this document"
  329.     ID_FILE_MRU_FILE6       "Open this document"
  330.     ID_FILE_MRU_FILE7       "Open this document"
  331.     ID_FILE_MRU_FILE8       "Open this document"
  332.     ID_FILE_MRU_FILE9       "Open this document"
  333.     ID_FILE_MRU_FILE10      "Open this document"
  334.     ID_FILE_MRU_FILE11      "Open this document"
  335.     ID_FILE_MRU_FILE12      "Open this document"
  336.     ID_FILE_MRU_FILE13      "Open this document"
  337.     ID_FILE_MRU_FILE14      "Open this document"
  338.     ID_FILE_MRU_FILE15      "Open this document"
  339.     ID_FILE_MRU_FILE16      "Open this document"
  340. END
  341.  
  342. STRINGTABLE DISCARDABLE
  343. BEGIN
  344.     ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"
  345.     ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"
  346. END
  347.  
  348. STRINGTABLE DISCARDABLE
  349. BEGIN
  350.     ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
  351. END
  352.  
  353. STRINGTABLE DISCARDABLE
  354. BEGIN
  355.     ID_EDIT_CLEAR           "Erase the selection\nErase"
  356.     ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"
  357.     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"
  358.     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"
  359.     ID_EDIT_FIND            "Find the specified text\nFind"
  360.     ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"
  361.     ID_EDIT_REPEAT          "Repeat the last action\nRepeat"
  362.     ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"
  363.     ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"
  364.     ID_EDIT_UNDO            "Undo the last action\nUndo"
  365.     ID_EDIT_REDO            "Redo the previously undone action\nRedo"
  366. END
  367.  
  368. STRINGTABLE DISCARDABLE
  369. BEGIN
  370.     ID_VIEW_TOOLBAR         "Show or hide the toolbar\nToggle ToolBar"
  371.     ID_VIEW_STATUS_BAR      "Show or hide the status bar\nToggle StatusBar"
  372. END
  373.  
  374. STRINGTABLE DISCARDABLE
  375. BEGIN
  376.     ID_RECORD_FIRST         "Move to first record\nFirst Record"
  377.     ID_RECORD_LAST          "Move to final record\nLast Record"
  378.     ID_RECORD_NEXT          "Move to next record\nNext Record"
  379.     ID_RECORD_PREV          "Move to previous record\nPrevious Record"
  380. END
  381.  
  382. STRINGTABLE DISCARDABLE
  383. BEGIN
  384.     AFX_IDS_SCSIZE          "Change the window size"
  385.     AFX_IDS_SCMOVE          "Change the window position"
  386.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  387.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  388.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  389.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  390.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  391. END
  392.  
  393. STRINGTABLE DISCARDABLE
  394. BEGIN
  395.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  396.     AFX_IDS_SCTASKLIST      "Activate Task List"
  397. END
  398.  
  399. #endif    // English (U.S.) resources
  400. /////////////////////////////////////////////////////////////////////////////
  401.  
  402.  
  403.  
  404. #ifndef APSTUDIO_INVOKED
  405. /////////////////////////////////////////////////////////////////////////////
  406. //
  407. // Generated from the TEXTINCLUDE 3 resource.
  408. //
  409. #define _AFX_NO_OLE_RESOURCES
  410. #define _AFX_NO_TRACKER_RESOURCES
  411. #define _AFX_NO_PROPERTY_RESOURCES
  412.  
  413. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  414. #ifdef _WIN32
  415. LANGUAGE 9, 1
  416. #pragma code_page(1252)
  417. #endif
  418. #include "res\DBVList.rc2"  // non-Microsoft Visual C++ edited resources
  419. #include "afxres.rc"         // Standard components
  420. #include "afxdb.rc"          // Database resources
  421. #endif
  422. /////////////////////////////////////////////////////////////////////////////
  423. #endif    // not APSTUDIO_INVOKED
  424.