home *** CD-ROM | disk | FTP | other *** search
/ Using Visual C++ 4 (Special Edition) / Using_Visual_C_4_Special_Edition_QUE_1996.iso / ch06 / fileview.rc < prev    next >
Text File  |  1995-09-30  |  15KB  |  443 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_SPLITTER_RESOURCES\r\n"
  44.     "#define _AFX_NO_OLE_RESOURCES\r\n"
  45.     "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  46.     "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  47.     "\r\n"
  48.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
  49.     "#ifdef _WIN32\r\n"
  50.     "LANGUAGE 9, 1\r\n"
  51.     "#pragma code_page(1252)\r\n"
  52.     "#endif\r\n"
  53.     "#include ""res\\FileView.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
  54.     "#include ""afxres.rc""         // Standard components\r\n"
  55.     "#include ""afxprint.rc""       // printing/print preview resources\r\n"
  56.     "#endif\0"
  57. END
  58.  
  59. #endif    // APSTUDIO_INVOKED
  60.  
  61.  
  62. /////////////////////////////////////////////////////////////////////////////
  63. //
  64. // Icon
  65. //
  66.  
  67. // Icon with lowest ID value placed first to ensure application icon
  68. // remains consistent on all systems.
  69. IDR_MAINFRAME           ICON    DISCARDABLE     "res\\FileView.ico"
  70. IDR_FILEVITYPE          ICON    DISCARDABLE     "res\\FileVDoc.ico"
  71.  
  72. /////////////////////////////////////////////////////////////////////////////
  73. //
  74. // Bitmap
  75. //
  76.  
  77. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\\Toolbar.bmp"
  78.  
  79. /////////////////////////////////////////////////////////////////////////////
  80. //
  81. // Toolbar
  82. //
  83.  
  84. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  85. BEGIN
  86.     BUTTON      ID_FILE_NEW
  87.     BUTTON      ID_FILE_OPEN
  88.     BUTTON      ID_FILE_SAVE
  89.     SEPARATOR
  90.     BUTTON      ID_EDIT_CUT
  91.     BUTTON      ID_EDIT_COPY
  92.     BUTTON      ID_EDIT_PASTE
  93.     SEPARATOR
  94.     BUTTON      ID_FILE_PRINT
  95.     BUTTON      ID_APP_ABOUT
  96.     BUTTON      ID_CONTEXT_HELP
  97. END
  98.  
  99.  
  100. /////////////////////////////////////////////////////////////////////////////
  101. //
  102. // Menu
  103. //
  104.  
  105. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  106. BEGIN
  107.     POPUP "&File"
  108.     BEGIN
  109.         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
  110.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
  111.         MENUITEM SEPARATOR
  112.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  113.         MENUITEM SEPARATOR
  114.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  115.         MENUITEM SEPARATOR
  116.         MENUITEM "E&xit",                       ID_APP_EXIT
  117.     END
  118.     POPUP "&View"
  119.     BEGIN
  120.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  121.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  122.     END
  123.     POPUP "&Help"
  124.     BEGIN
  125.         MENUITEM "&Help Topics",                ID_HELP_FINDER
  126.         MENUITEM SEPARATOR
  127.         MENUITEM "&About FileView...",          ID_APP_ABOUT
  128.     END
  129. END
  130.  
  131. IDR_FILEVITYPE MENU PRELOAD DISCARDABLE 
  132. BEGIN
  133.     POPUP "&File"
  134.     BEGIN
  135.         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
  136.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
  137.         MENUITEM "&Close",                      ID_FILE_CLOSE
  138.         MENUITEM "&Save\tCtrl+S",               ID_FILE_SAVE
  139.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  140.         MENUITEM SEPARATOR
  141.         MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT
  142.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  143.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  144.         MENUITEM SEPARATOR
  145.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  146.         MENUITEM SEPARATOR
  147.         MENUITEM "E&xit",                       ID_APP_EXIT
  148.     END
  149.     POPUP "&Edit"
  150.     BEGIN
  151.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  152.         MENUITEM SEPARATOR
  153.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  154.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  155.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  156.     END
  157.     POPUP "&View"
  158.     BEGIN
  159.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  160.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  161.     END
  162.     POPUP "&Window"
  163.     BEGIN
  164.         MENUITEM "&New Window",                 ID_WINDOW_NEW
  165.         MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  166.         MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  167.         MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  168.     END
  169.     POPUP "&Help"
  170.     BEGIN
  171.         MENUITEM "&Help Topics",                ID_HELP_FINDER
  172.         MENUITEM SEPARATOR
  173.         MENUITEM "&About FileView...",          ID_APP_ABOUT
  174.     END
  175. END
  176.  
  177.  
  178. /////////////////////////////////////////////////////////////////////////////
  179. //
  180. // Accelerator
  181. //
  182.  
  183. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  184. BEGIN
  185.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  186.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  187.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  188.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  189.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  190.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  191.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  192.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  193.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  194.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  195.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  196.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  197.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  198.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  199.     VK_F1,          ID_CONTEXT_HELP,        VIRTKEY, SHIFT
  200.     VK_F1,          ID_HELP,                VIRTKEY 
  201. END
  202.  
  203.  
  204. /////////////////////////////////////////////////////////////////////////////
  205. //
  206. // Dialog
  207. //
  208.  
  209. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  210. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  211. CAPTION "About FileView"
  212. FONT 8, "MS Sans Serif"
  213. BEGIN
  214.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  215.     LTEXT           "FileView Version 1.0",IDC_STATIC,40,10,119,8,
  216.                     SS_NOPREFIX
  217.     LTEXT           "Copyright ⌐ 1995",IDC_STATIC,40,25,119,8
  218.     DEFPUSHBUTTON   "OK",IDOK,178,7,32,14,WS_GROUP
  219. END
  220.  
  221.  
  222. #ifndef _MAC
  223. /////////////////////////////////////////////////////////////////////////////
  224. //
  225. // Version
  226. //
  227.  
  228. VS_VERSION_INFO VERSIONINFO
  229.  FILEVERSION 1,0,0,1
  230.  PRODUCTVERSION 1,0,0,1
  231.  FILEFLAGSMASK 0x3fL
  232. #ifdef _DEBUG
  233.  FILEFLAGS 0x1L
  234. #else
  235.  FILEFLAGS 0x0L
  236. #endif
  237.  FILEOS 0x4L
  238.  FILETYPE 0x1L
  239.  FILESUBTYPE 0x0L
  240. BEGIN
  241.     BLOCK "StringFileInfo"
  242.     BEGIN
  243.         BLOCK "040904B0"
  244.         BEGIN
  245.             VALUE "CompanyName", "\0"
  246.             VALUE "FileDescription", "FILEVIEW MFC Application\0"
  247.             VALUE "FileVersion", "1, 0, 0, 1\0"
  248.             VALUE "InternalName", "FILEVIEW\0"
  249.             VALUE "LegalCopyright", "Copyright ⌐ 1995\0"
  250.             VALUE "LegalTrademarks", "\0"
  251.             VALUE "OriginalFilename", "FILEVIEW.EXE\0"
  252.             VALUE "ProductName", "FILEVIEW Application\0"
  253.             VALUE "ProductVersion", "1, 0, 0, 1\0"
  254.         END
  255.     END
  256.     BLOCK "VarFileInfo"
  257.     BEGIN
  258.         VALUE "Translation", 0x409, 1200
  259.     END
  260. END
  261.  
  262. #endif    // !_MAC
  263.  
  264.  
  265. /////////////////////////////////////////////////////////////////////////////
  266. //
  267. // DESIGNINFO
  268. //
  269.  
  270. #ifdef APSTUDIO_INVOKED
  271. GUIDELINES DESIGNINFO DISCARDABLE 
  272. BEGIN
  273.     IDD_ABOUTBOX, DIALOG
  274.     BEGIN
  275.         LEFTMARGIN, 7
  276.         RIGHTMARGIN, 210
  277.         TOPMARGIN, 7
  278.         BOTTOMMARGIN, 48
  279.     END
  280. END
  281. #endif    // APSTUDIO_INVOKED
  282.  
  283.  
  284. /////////////////////////////////////////////////////////////////////////////
  285. //
  286. // String Table
  287. //
  288.  
  289. STRINGTABLE PRELOAD DISCARDABLE 
  290. BEGIN
  291.     IDR_MAINFRAME           "FileView"
  292.     IDR_FILEVITYPE          "\nFileVi\nFileVi\nText files (*.txt)\n.TXT\nFileView.Document\nFileVi Document"
  293. END
  294.  
  295. STRINGTABLE PRELOAD DISCARDABLE 
  296. BEGIN
  297.     AFX_IDS_APP_TITLE       "FileView"
  298.     AFX_IDS_IDLEMESSAGE     "For Help, press F1"
  299.     AFX_IDS_HELPMODEMESSAGE "Select an object on which to get Help"
  300. END
  301.  
  302. STRINGTABLE DISCARDABLE 
  303. BEGIN
  304.     ID_INDICATOR_EXT        "EXT"
  305.     ID_INDICATOR_CAPS       "CAP"
  306.     ID_INDICATOR_NUM        "NUM"
  307.     ID_INDICATOR_SCRL       "SCRL"
  308.     ID_INDICATOR_OVR        "OVR"
  309.     ID_INDICATOR_REC        "REC"
  310. END
  311.  
  312. STRINGTABLE DISCARDABLE 
  313. BEGIN
  314.     ID_FILE_NEW             "Create a new document\nNew"
  315.     ID_FILE_OPEN            "Open an existing document\nOpen"
  316.     ID_FILE_CLOSE           "Close the active document\nClose"
  317.     ID_FILE_SAVE            "Save the active document\nSave"
  318.     ID_FILE_SAVE_AS         "Save the active document with a new name\nSave As"
  319.     ID_FILE_PAGE_SETUP      "Change the printing options\nPage Setup"
  320.     ID_FILE_PRINT_SETUP     "Change the printer and printing options\nPrint Setup"
  321.     ID_FILE_PRINT           "Print the active document\nPrint"
  322.     ID_FILE_PRINT_PREVIEW   "Display full pages\nPrint Preview"
  323. END
  324.  
  325. STRINGTABLE DISCARDABLE 
  326. BEGIN
  327.     ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"
  328.     ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"
  329.     ID_HELP_INDEX           "Opens Help\nHelp Topics"
  330.     ID_HELP_FINDER          "List Help topics\nHelp Topics"
  331.     ID_HELP_USING           "Display instructions about how to use help\nHelp"
  332.     ID_CONTEXT_HELP         "Display help for clicked on buttons, menus and windows\nHelp"
  333.     ID_HELP                 "Display help for current task or command\nHelp"
  334. END
  335.  
  336. STRINGTABLE DISCARDABLE 
  337. BEGIN
  338.     ID_FILE_MRU_FILE1       "Open this document"
  339.     ID_FILE_MRU_FILE2       "Open this document"
  340.     ID_FILE_MRU_FILE3       "Open this document"
  341.     ID_FILE_MRU_FILE4       "Open this document"
  342.     ID_FILE_MRU_FILE5       "Open this document"
  343.     ID_FILE_MRU_FILE6       "Open this document"
  344.     ID_FILE_MRU_FILE7       "Open this document"
  345.     ID_FILE_MRU_FILE8       "Open this document"
  346.     ID_FILE_MRU_FILE9       "Open this document"
  347.     ID_FILE_MRU_FILE10      "Open this document"
  348.     ID_FILE_MRU_FILE11      "Open this document"
  349.     ID_FILE_MRU_FILE12      "Open this document"
  350.     ID_FILE_MRU_FILE13      "Open this document"
  351.     ID_FILE_MRU_FILE14      "Open this document"
  352.     ID_FILE_MRU_FILE15      "Open this document"
  353.     ID_FILE_MRU_FILE16      "Open this document"
  354. END
  355.  
  356. STRINGTABLE DISCARDABLE 
  357. BEGIN
  358.     ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"
  359.     ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"
  360. END
  361.  
  362. STRINGTABLE DISCARDABLE 
  363. BEGIN
  364.     ID_WINDOW_NEW           "Open another window for the active document\nNew Window"
  365.     ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the window\nArrange Icons"
  366.     ID_WINDOW_CASCADE       "Arrange windows so they overlap\nCascade Windows"
  367.     ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tiles\nTile Windows"
  368.     ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tiles\nTile Windows"
  369.     ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
  370. END
  371.  
  372. STRINGTABLE DISCARDABLE 
  373. BEGIN
  374.     ID_EDIT_CLEAR           "Erase the selection\nErase"
  375.     ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"
  376.     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"
  377.     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"
  378.     ID_EDIT_FIND            "Find the specified text\nFind"
  379.     ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"
  380.     ID_EDIT_REPEAT          "Repeat the last action\nRepeat"
  381.     ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"
  382.     ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"
  383.     ID_EDIT_UNDO            "Undo the last action\nUndo"
  384.     ID_EDIT_REDO            "Redo the previously undone action\nRedo"
  385. END
  386.  
  387. STRINGTABLE DISCARDABLE 
  388. BEGIN
  389.     ID_VIEW_TOOLBAR         "Show or hide the toolbar\nToggle ToolBar"
  390.     ID_VIEW_STATUS_BAR      "Show or hide the status bar\nToggle StatusBar"
  391. END
  392.  
  393. STRINGTABLE DISCARDABLE 
  394. BEGIN
  395.     AFX_IDS_SCSIZE          "Change the window size"
  396.     AFX_IDS_SCMOVE          "Change the window position"
  397.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  398.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  399.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  400.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  401.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  402. END
  403.  
  404. STRINGTABLE DISCARDABLE 
  405. BEGIN
  406.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  407.     AFX_IDS_SCTASKLIST      "Activate Task List"
  408.     AFX_IDS_MDICHILD        "Activate this window"
  409. END
  410.  
  411. STRINGTABLE DISCARDABLE 
  412. BEGIN
  413.     AFX_IDS_PREVIEW_CLOSE   "Close print preview mode\nCancel Preview"
  414. END
  415.  
  416. #endif    // English (U.S.) resources
  417. /////////////////////////////////////////////////////////////////////////////
  418.  
  419.  
  420.  
  421. #ifndef APSTUDIO_INVOKED
  422. /////////////////////////////////////////////////////////////////////////////
  423. //
  424. // Generated from the TEXTINCLUDE 3 resource.
  425. //
  426. #define _AFX_NO_SPLITTER_RESOURCES
  427. #define _AFX_NO_OLE_RESOURCES
  428. #define _AFX_NO_TRACKER_RESOURCES
  429. #define _AFX_NO_PROPERTY_RESOURCES
  430.  
  431. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  432. #ifdef _WIN32
  433. LANGUAGE 9, 1
  434. #pragma code_page(1252)
  435. #endif
  436. #include "res\FileView.rc2"  // non-Microsoft Visual C++ edited resources
  437. #include "afxres.rc"         // Standard components
  438. #include "afxprint.rc"       // printing/print preview resources
  439. #endif
  440. /////////////////////////////////////////////////////////////////////////////
  441. #endif    // not APSTUDIO_INVOKED
  442.  
  443.