home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / samples / c07 / scroll / scroll.rc < prev    next >
Encoding:
Text File  |  1997-02-20  |  11.7 KB  |  387 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\\Scroll.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\\Scroll.ico"
  70. IDR_SCROLLTYPE          ICON    DISCARDABLE     "res\\ScrolDoc.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. END
  97.  
  98.  
  99. /////////////////////////////////////////////////////////////////////////////
  100. //
  101. // Menu
  102. //
  103.  
  104. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  105. BEGIN
  106.     POPUP "&File"
  107.     BEGIN
  108.         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
  109.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
  110.         MENUITEM "&Save\tCtrl+S",               ID_FILE_SAVE
  111.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  112.         MENUITEM SEPARATOR
  113.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  114.         MENUITEM SEPARATOR
  115.         MENUITEM "E&xit",                       ID_APP_EXIT
  116.     END
  117.     POPUP "&Edit"
  118.     BEGIN
  119.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  120.         MENUITEM SEPARATOR
  121.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  122.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  123.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  124.     END
  125.     POPUP "&View"
  126.     BEGIN
  127.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  128.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  129.     END
  130.     POPUP "&Help"
  131.     BEGIN
  132.         MENUITEM "&About Scroll...",            ID_APP_ABOUT
  133.     END
  134. END
  135.  
  136.  
  137. /////////////////////////////////////////////////////////////////////////////
  138. //
  139. // Accelerator
  140. //
  141.  
  142. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  143. BEGIN
  144.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  145.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  146.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  147.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  148.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  149.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  150.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  151.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  152.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  153.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  154.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  155.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  156.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  157.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  158. END
  159.  
  160.  
  161. /////////////////////////////////////////////////////////////////////////////
  162. //
  163. // Dialog
  164. //
  165.  
  166. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  167. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  168. CAPTION "About Scroll"
  169. FONT 8, "MS Sans Serif"
  170. BEGIN
  171.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  172.     LTEXT           "Scroll Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX
  173.     LTEXT           "Copyright ⌐ 1995",IDC_STATIC,40,25,119,8
  174.     DEFPUSHBUTTON   "OK",IDOK,178,7,32,14,WS_GROUP
  175. END
  176.  
  177.  
  178. #ifndef _MAC
  179. /////////////////////////////////////////////////////////////////////////////
  180. //
  181. // Version
  182. //
  183.  
  184. VS_VERSION_INFO VERSIONINFO
  185.  FILEVERSION 1,0,0,1
  186.  PRODUCTVERSION 1,0,0,1
  187.  FILEFLAGSMASK 0x3fL
  188. #ifdef _DEBUG
  189.  FILEFLAGS 0x1L
  190. #else
  191.  FILEFLAGS 0x0L
  192. #endif
  193.  FILEOS 0x4L
  194.  FILETYPE 0x1L
  195.  FILESUBTYPE 0x0L
  196. BEGIN
  197.     BLOCK "StringFileInfo"
  198.     BEGIN
  199.         BLOCK "040904B0"
  200.         BEGIN
  201.             VALUE "CompanyName", "\0"
  202.             VALUE "FileDescription", "SCROLL MFC Application\0"
  203.             VALUE "FileVersion", "1, 0, 0, 1\0"
  204.             VALUE "InternalName", "SCROLL\0"
  205.             VALUE "LegalCopyright", "Copyright ⌐ 1995\0"
  206.             VALUE "LegalTrademarks", "\0"
  207.             VALUE "OriginalFilename", "SCROLL.EXE\0"
  208.             VALUE "ProductName", "SCROLL Application\0"
  209.             VALUE "ProductVersion", "1, 0, 0, 1\0"
  210.         END
  211.     END
  212.     BLOCK "VarFileInfo"
  213.     BEGIN
  214.         VALUE "Translation", 0x409, 1200
  215.     END
  216. END
  217.  
  218. #endif    // !_MAC
  219.  
  220.  
  221. /////////////////////////////////////////////////////////////////////////////
  222. //
  223. // DESIGNINFO
  224. //
  225.  
  226. #ifdef APSTUDIO_INVOKED
  227. GUIDELINES DESIGNINFO DISCARDABLE 
  228. BEGIN
  229.     IDD_ABOUTBOX, DIALOG
  230.     BEGIN
  231.         LEFTMARGIN, 7
  232.         RIGHTMARGIN, 210
  233.         TOPMARGIN, 7
  234.         BOTTOMMARGIN, 48
  235.     END
  236. END
  237. #endif    // APSTUDIO_INVOKED
  238.  
  239.  
  240. /////////////////////////////////////////////////////////////////////////////
  241. //
  242. // String Table
  243. //
  244.  
  245. STRINGTABLE PRELOAD DISCARDABLE 
  246. BEGIN
  247.     IDR_MAINFRAME           "Scroll\n\nScroll\n\n\nScroll.Document\nScroll Document"
  248. END
  249.  
  250. STRINGTABLE PRELOAD DISCARDABLE 
  251. BEGIN
  252.     AFX_IDS_APP_TITLE       "Scroll"
  253.     AFX_IDS_IDLEMESSAGE     "Ready"
  254. END
  255.  
  256. STRINGTABLE DISCARDABLE 
  257. BEGIN
  258.     ID_INDICATOR_EXT        "EXT"
  259.     ID_INDICATOR_CAPS       "CAP"
  260.     ID_INDICATOR_NUM        "NUM"
  261.     ID_INDICATOR_SCRL       "SCRL"
  262.     ID_INDICATOR_OVR        "OVR"
  263.     ID_INDICATOR_REC        "REC"
  264. END
  265.  
  266. STRINGTABLE DISCARDABLE 
  267. BEGIN
  268.     ID_FILE_NEW             "Create a new document\nNew"
  269.     ID_FILE_OPEN            "Open an existing document\nOpen"
  270.     ID_FILE_CLOSE           "Close the active document\nClose"
  271.     ID_FILE_SAVE            "Save the active document\nSave"
  272.     ID_FILE_SAVE_AS         "Save the active document with a new name\nSave As"
  273.     ID_FILE_PAGE_SETUP      "Change the printing options\nPage Setup"
  274.     ID_FILE_PRINT_SETUP     "Change the printer and printing options\nPrint Setup"
  275.     ID_FILE_PRINT           "Print the active document\nPrint"
  276.     IDS_WELCOME_MSG         "Welcome to Mastering MFC"
  277.     ID_FILE_PRINT_PREVIEW   "Display full pages\nPrint Preview"
  278. END
  279.  
  280. STRINGTABLE DISCARDABLE 
  281. BEGIN
  282.     ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"
  283.     ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"
  284. END
  285.  
  286. STRINGTABLE DISCARDABLE 
  287. BEGIN
  288.     ID_FILE_MRU_FILE1       "Open this document"
  289.     ID_FILE_MRU_FILE2       "Open this document"
  290.     ID_FILE_MRU_FILE3       "Open this document"
  291.     ID_FILE_MRU_FILE4       "Open this document"
  292.     ID_FILE_MRU_FILE5       "Open this document"
  293.     ID_FILE_MRU_FILE6       "Open this document"
  294.     ID_FILE_MRU_FILE7       "Open this document"
  295.     ID_FILE_MRU_FILE8       "Open this document"
  296.     ID_FILE_MRU_FILE9       "Open this document"
  297.     ID_FILE_MRU_FILE10      "Open this document"
  298.     ID_FILE_MRU_FILE11      "Open this document"
  299.     ID_FILE_MRU_FILE12      "Open this document"
  300.     ID_FILE_MRU_FILE13      "Open this document"
  301.     ID_FILE_MRU_FILE14      "Open this document"
  302.     ID_FILE_MRU_FILE15      "Open this document"
  303.     ID_FILE_MRU_FILE16      "Open this document"
  304. END
  305.  
  306. STRINGTABLE DISCARDABLE 
  307. BEGIN
  308.     ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"
  309.     ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"
  310. END
  311.  
  312. STRINGTABLE DISCARDABLE 
  313. BEGIN
  314.     ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
  315. END
  316.  
  317. STRINGTABLE DISCARDABLE 
  318. BEGIN
  319.     ID_EDIT_CLEAR           "Erase the selection\nErase"
  320.     ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"
  321.     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"
  322.     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"
  323.     ID_EDIT_FIND            "Find the specified text\nFind"
  324.     ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"
  325.     ID_EDIT_REPEAT          "Repeat the last action\nRepeat"
  326.     ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"
  327.     ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"
  328.     ID_EDIT_UNDO            "Undo the last action\nUndo"
  329.     ID_EDIT_REDO            "Redo the previously undone action\nRedo"
  330. END
  331.  
  332. STRINGTABLE DISCARDABLE 
  333. BEGIN
  334.     ID_VIEW_TOOLBAR         "Show or hide the toolbar\nToggle ToolBar"
  335.     ID_VIEW_STATUS_BAR      "Show or hide the status bar\nToggle StatusBar"
  336. END
  337.  
  338. STRINGTABLE DISCARDABLE 
  339. BEGIN
  340.     AFX_IDS_SCSIZE          "Change the window size"
  341.     AFX_IDS_SCMOVE          "Change the window position"
  342.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  343.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  344.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  345.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  346.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  347. END
  348.  
  349. STRINGTABLE DISCARDABLE 
  350. BEGIN
  351.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  352.     AFX_IDS_SCTASKLIST      "Activate Task List"
  353. END
  354.  
  355. STRINGTABLE DISCARDABLE 
  356. BEGIN
  357.     AFX_IDS_PREVIEW_CLOSE   "Close print preview mode\nCancel Preview"
  358. END
  359.  
  360. #endif    // English (U.S.) resources
  361. /////////////////////////////////////////////////////////////////////////////
  362.  
  363.  
  364.  
  365. #ifndef APSTUDIO_INVOKED
  366. /////////////////////////////////////////////////////////////////////////////
  367. //
  368. // Generated from the TEXTINCLUDE 3 resource.
  369. //
  370. #define _AFX_NO_SPLITTER_RESOURCES
  371. #define _AFX_NO_OLE_RESOURCES
  372. #define _AFX_NO_TRACKER_RESOURCES
  373. #define _AFX_NO_PROPERTY_RESOURCES
  374.  
  375. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  376. #ifdef _WIN32
  377. LANGUAGE 9, 1
  378. #pragma code_page(1252)
  379. #endif
  380. #include "res\Scroll.rc2"  // non-Microsoft Visual C++ edited resources
  381. #include "afxres.rc"         // Standard components
  382. #include "afxprint.rc"       // printing/print preview resources
  383. #endif
  384. /////////////////////////////////////////////////////////////////////////////
  385. #endif    // not APSTUDIO_INVOKED
  386.  
  387.