home *** CD-ROM | disk | FTP | other *** search
/ ActiveX Programming Unleashed CD / AXU.iso / source / chap04 / lst42 / lst42.rc < prev    next >
Encoding:
Text File  |  1996-09-26  |  12.3 KB  |  409 lines

  1. //Microsoft Visual C++ 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.  
  11. #include "afxres.h"
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. #undef APSTUDIO_READONLY_SYMBOLS
  15.  
  16. #ifdef APSTUDIO_INVOKED
  17.  
  18. /////////////////////////////////////////////////////////////////////////////
  19. //
  20. // TEXTINCLUDE
  21. //
  22.  
  23. 1 TEXTINCLUDE DISCARDABLE 
  24. BEGIN
  25.     "resource.h\0"
  26. END
  27.  
  28. 2 TEXTINCLUDE DISCARDABLE 
  29. BEGIN
  30.     "#include ""afxres.h""\r\n"
  31.     "\0"
  32. END
  33.  
  34. 3 TEXTINCLUDE DISCARDABLE 
  35. BEGIN
  36.     "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
  37.     "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  38.     "\r\n"
  39.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
  40.     "#ifdef _WIN32\r\n"
  41.     "LANGUAGE 9, 1\r\n"
  42.     "#pragma code_page(1252)\r\n"
  43.     "#endif\r\n"
  44.     "#include ""res\\lst42.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
  45.     "#include ""afxres.rc""      // Standard components\r\n"
  46.     "#include ""afxprint.rc""    // printing/print preview resources\r\n"
  47.     "#include ""afxolesv.rc""    // OLE server resources\r\n"
  48.     "#endif"
  49.     "\0"
  50. END
  51.  
  52. #endif    // APSTUDIO_INVOKED
  53.  
  54.  
  55. /////////////////////////////////////////////////////////////////////////////
  56. //
  57. // Icon
  58. //
  59.  
  60. // Icon with lowest ID value placed first to ensure application icon
  61. // remains consistent on all systems.
  62. IDR_MAINFRAME           ICON    DISCARDABLE     "res\\lst42.ico"
  63.  
  64. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  65. #ifdef _WIN32
  66. LANGUAGE 9, 1
  67. #pragma code_page(1252)
  68. #endif
  69. IDR_LST42TYPE         ICON    DISCARDABLE     "res\\lst42Doc.ico"
  70. #endif
  71.  
  72. /////////////////////////////////////////////////////////////////////////////
  73. //
  74. // Bitmap
  75. //
  76.  
  77. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\\Toolbar.bmp"
  78. IDR_SRVR_INPLACE                BITMAP    MOVEABLE PURE    "res\\IToolbar.bmp"
  79.  
  80. /////////////////////////////////////////////////////////////////////////////
  81. //
  82. // Toolbar
  83. //
  84.  
  85. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  86. BEGIN
  87.     BUTTON      ID_FILE_NEW
  88.     BUTTON      ID_FILE_OPEN
  89.     BUTTON      ID_FILE_SAVE
  90.     SEPARATOR
  91.     BUTTON      ID_EDIT_CUT
  92.     BUTTON      ID_EDIT_COPY
  93.     BUTTON      ID_EDIT_PASTE
  94.     SEPARATOR
  95.     BUTTON      ID_FILE_PRINT
  96.     BUTTON      ID_APP_ABOUT
  97. END
  98.  
  99. IDR_SRVR_INPLACE TOOLBAR DISCARDABLE  16, 15
  100. BEGIN
  101.     BUTTON      ID_EDIT_CUT
  102.     BUTTON      ID_EDIT_COPY
  103.     BUTTON      ID_EDIT_PASTE
  104.     SEPARATOR
  105.     BUTTON      ID_APP_ABOUT
  106. END
  107.  
  108.  
  109.  
  110. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  111. #ifdef _WIN32
  112. LANGUAGE 9, 1
  113. #pragma code_page(1252)
  114. #endif
  115. /////////////////////////////////////////////////////////////////////////////
  116. //
  117. // Menu
  118. //
  119.  
  120. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  121. BEGIN
  122.     POPUP "&File"
  123.     BEGIN
  124.         MENUITEM "E&xit",                       ID_APP_EXIT
  125.         MENUITEM SEPARATOR
  126.         MENUITEM "&About lst42...",          ID_APP_ABOUT
  127.     END
  128. END
  129.  
  130.  
  131. IDR_SRVR_INPLACE MENU PRELOAD DISCARDABLE 
  132. BEGIN
  133.     POPUP "&Edit"
  134.     BEGIN
  135.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  136.         MENUITEM SEPARATOR
  137.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  138.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  139.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  140.     END
  141.     POPUP "&View"
  142.     BEGIN
  143.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  144.     END
  145.     MENUITEM SEPARATOR
  146.     MENUITEM SEPARATOR
  147.     POPUP "&Help"
  148.     BEGIN
  149.         MENUITEM "&About lst42...",          ID_APP_ABOUT
  150.     END
  151. END
  152. IDR_SRVR_EMBEDDED MENU PRELOAD DISCARDABLE 
  153. BEGIN
  154.     POPUP "&File"
  155.     BEGIN
  156.         MENUITEM "&Update\tCtrl+S",                ID_FILE_UPDATE
  157.         MENUITEM SEPARATOR
  158.         MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT
  159.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  160.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  161.         MENUITEM SEPARATOR
  162.         MENUITEM "E&xit",                       ID_APP_EXIT
  163.     END
  164.     POPUP "&Edit"
  165.     BEGIN
  166.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  167.         MENUITEM SEPARATOR
  168.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  169.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  170.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  171.     END
  172.     POPUP "&View"
  173.     BEGIN
  174.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  175.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  176.     END
  177.     POPUP "&Help"
  178.     BEGIN
  179.         MENUITEM "&About lst42...",          ID_APP_ABOUT
  180.     END
  181. END
  182.  
  183. /////////////////////////////////////////////////////////////////////////////
  184. //
  185. // Accelerator
  186. //
  187.  
  188.  
  189.  
  190. IDR_SRVR_INPLACE ACCELERATORS PRELOAD MOVEABLE 
  191. BEGIN
  192.     "Z",            ID_EDIT_UNDO,           VIRTKEY,CONTROL
  193.     "X",            ID_EDIT_CUT,            VIRTKEY,CONTROL
  194.     "C",            ID_EDIT_COPY,           VIRTKEY,CONTROL
  195.     "V",            ID_EDIT_PASTE,          VIRTKEY,CONTROL
  196.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY,ALT
  197.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY,SHIFT
  198.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY,CONTROL
  199.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY,SHIFT
  200.     VK_ESCAPE,      ID_CANCEL_EDIT_SRVR,       VIRTKEY,NOINVERT
  201. END
  202. IDR_SRVR_EMBEDDED ACCELERATORS PRELOAD MOVEABLE 
  203. BEGIN
  204.     "S",            ID_FILE_UPDATE,         VIRTKEY,CONTROL
  205.     "P",            ID_FILE_PRINT,          VIRTKEY,CONTROL
  206.     "Z",            ID_EDIT_UNDO,           VIRTKEY,CONTROL
  207.     "X",            ID_EDIT_CUT,            VIRTKEY,CONTROL
  208.     "C",            ID_EDIT_COPY,           VIRTKEY,CONTROL
  209.     "V",            ID_EDIT_PASTE,          VIRTKEY,CONTROL
  210.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY,ALT
  211.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY,SHIFT
  212.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY,CONTROL
  213.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY,SHIFT
  214.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  215.     VK_F6,          ID_PREV_PANE,           VIRTKEY,SHIFT
  216. END
  217.  
  218.  
  219. /////////////////////////////////////////////////////////////////////////////
  220. //
  221. // Dialog
  222. //
  223.  
  224. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  225. CAPTION "About lst42"
  226. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  227. FONT 8, "MS Sans Serif"
  228. BEGIN
  229.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  230.     LTEXT           "lst42 Version 1.0",IDC_STATIC,40,10,119,8,
  231.                     SS_NOPREFIX
  232.     LTEXT           "Copyright \251 1996",IDC_STATIC,40,25,119,8
  233.     DEFPUSHBUTTON   "OK",IDOK,178,7,32,14,WS_GROUP
  234. END
  235.  
  236.  
  237. /////////////////////////////////////////////////////////////////////////////
  238. //
  239. // Version
  240. //
  241.  
  242. VS_VERSION_INFO     VERSIONINFO
  243.   FILEVERSION       1,0,0,1
  244.   PRODUCTVERSION    1,0,0,1
  245.  FILEFLAGSMASK 0x3fL
  246. #ifdef _DEBUG
  247.  FILEFLAGS 0x1L
  248. #else
  249.  FILEFLAGS 0x0L
  250. #endif
  251.  FILEOS 0x4L
  252.  FILETYPE 0x1L
  253.  FILESUBTYPE 0x0L
  254. BEGIN
  255.     BLOCK "StringFileInfo"
  256.     BEGIN
  257.         BLOCK "040904B0"
  258.         BEGIN 
  259.             VALUE "CompanyName",     "\0"
  260.             VALUE "FileDescription", "LST42 MFC Application\0"
  261.             VALUE "FileVersion",     "1, 0, 0, 1\0"
  262.             VALUE "InternalName",    "LST42\0"
  263.             VALUE "LegalCopyright",  "Copyright \251 1996\0"
  264.             VALUE "LegalTrademarks", "\0"
  265.             VALUE "OriginalFilename","LST42.EXE\0"
  266.             VALUE "ProductName",     "LST42 Application\0"
  267.             VALUE "ProductVersion",  "1, 0, 0, 1\0"
  268.         END
  269.     END
  270.     BLOCK "VarFileInfo" 
  271.     BEGIN 
  272.         VALUE "Translation", 0x409, 1200
  273.     END
  274. END
  275.  
  276. /////////////////////////////////////////////////////////////////////////////
  277. //
  278. // DESIGNINFO
  279. //
  280.  
  281. #ifdef APSTUDIO_INVOKED
  282. GUIDELINES DESIGNINFO DISCARDABLE 
  283. BEGIN
  284.     IDD_ABOUTBOX, DIALOG
  285.     BEGIN
  286.         LEFTMARGIN, 7
  287.         RIGHTMARGIN, 210
  288.         TOPMARGIN, 7
  289.         BOTTOMMARGIN, 48
  290.     END
  291. END
  292. #endif    // APSTUDIO_INVOKED
  293.  
  294. /////////////////////////////////////////////////////////////////////////////
  295. //
  296. // String Table
  297. //
  298.  
  299. STRINGTABLE DISCARDABLE 
  300. BEGIN
  301.     IDP_OLE_INIT_FAILED       "OLE initialization failed.  Make sure that the OLE libraries are the correct version."
  302.     IDP_USE_INSERT_OBJECT    "This server can only be run from a container application."
  303. END
  304. STRINGTABLE PRELOAD DISCARDABLE 
  305. BEGIN
  306.     IDR_MAINFRAME           "lst42\n\nLst42\n\n\nLst42.Document\nLst42 Document"
  307. END
  308. STRINGTABLE PRELOAD DISCARDABLE 
  309. BEGIN
  310.     AFX_IDS_APP_TITLE       "lst42"
  311.     AFX_IDS_IDLEMESSAGE     "Ready"
  312. END
  313. STRINGTABLE DISCARDABLE 
  314. BEGIN
  315.     ID_INDICATOR_EXT        "EXT"
  316.     ID_INDICATOR_CAPS       "CAP"
  317.     ID_INDICATOR_NUM        "NUM"
  318.     ID_INDICATOR_SCRL       "SCRL"
  319.     ID_INDICATOR_OVR        "OVR"
  320.     ID_INDICATOR_REC        "REC"
  321. END
  322. STRINGTABLE DISCARDABLE 
  323. BEGIN
  324.     ID_FILE_NEW             "Create a new document\nNew"
  325.     ID_FILE_OPEN            "Open an existing document\nOpen"
  326.     ID_FILE_CLOSE           "Close the active document\nClose"
  327.     ID_FILE_SAVE            "Save the active document\nSave"
  328.     ID_FILE_SAVE_AS         "Save the active document with a new name\nSave As"
  329.     ID_FILE_UPDATE            "Update the container to show any changes\nUpdate"
  330.     ID_FILE_SAVE_COPY_AS    "Save a copy of the active document with a new name\nSave Copy"
  331.     ID_FILE_PAGE_SETUP      "Change the printing options\nPage Setup"
  332.     ID_FILE_PRINT_SETUP     "Change the printer and printing options\nPrint Setup"
  333.     ID_FILE_PRINT           "Print the active document\nPrint"
  334.     ID_FILE_PRINT_PREVIEW   "Display full pages\nPrint Preview"
  335.     ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"
  336.     ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"
  337.     ID_FILE_MRU_FILE1       "Open this document"
  338.     ID_FILE_MRU_FILE2       "Open this document"
  339.     ID_FILE_MRU_FILE3       "Open this document"
  340.     ID_FILE_MRU_FILE4       "Open this document"
  341.     ID_FILE_MRU_FILE5       "Open this document"
  342.     ID_FILE_MRU_FILE6       "Open this document"
  343.     ID_FILE_MRU_FILE7       "Open this document"
  344.     ID_FILE_MRU_FILE8       "Open this document"
  345.     ID_FILE_MRU_FILE9       "Open this document"
  346.     ID_FILE_MRU_FILE10      "Open this document"
  347.     ID_FILE_MRU_FILE11      "Open this document"
  348.     ID_FILE_MRU_FILE12      "Open this document"
  349.     ID_FILE_MRU_FILE13      "Open this document"
  350.     ID_FILE_MRU_FILE14      "Open this document"
  351.     ID_FILE_MRU_FILE15      "Open this document"
  352.     ID_FILE_MRU_FILE16      "Open this document"
  353.     ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"
  354.     ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"
  355.     ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
  356.     ID_EDIT_CLEAR           "Erase the selection\nErase"
  357.     ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"
  358.     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"
  359.     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"
  360.     ID_EDIT_FIND            "Find the specified text\nFind"
  361.     ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"
  362.     ID_EDIT_REPEAT          "Repeat the last action\nRepeat"
  363.     ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"
  364.     ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"
  365.     ID_EDIT_UNDO            "Undo the last action\nUndo"
  366.     ID_EDIT_REDO            "Redo the previously undone action\nRedo"
  367.     ID_VIEW_TOOLBAR         "Show or hide the toolbar\nToggle ToolBar"
  368.     ID_VIEW_STATUS_BAR      "Show or hide the status bar\nToggle StatusBar"
  369. END
  370.  
  371. STRINGTABLE DISCARDABLE 
  372. BEGIN
  373.     AFX_IDS_SCSIZE          "Change the window size"
  374.     AFX_IDS_SCMOVE          "Change the window position"
  375.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  376.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  377.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  378.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  379.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  380.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  381.     AFX_IDS_SCTASKLIST      "Activate Task List"
  382.     AFX_IDS_PREVIEW_CLOSE   "Close print preview mode\nCancel Preview"
  383. END
  384.  
  385. #endif
  386.  
  387.  
  388. #ifndef APSTUDIO_INVOKED
  389. /////////////////////////////////////////////////////////////////////////////
  390. //
  391. // Generated from the TEXTINCLUDE 3 resource.
  392. //
  393.  
  394. #define _AFX_NO_SPLITTER_RESOURCES
  395. #define _AFX_NO_PROPERTY_RESOURCES
  396.  
  397. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  398. #ifdef _WIN32
  399. LANGUAGE 9, 1
  400. #pragma code_page(1252)
  401. #endif
  402. #include "res\\lst42.rc2"  // non-Microsoft Visual C++ edited resources
  403. #include "afxres.rc"      // Standard components
  404. #include "afxprint.rc"  // printing/print preview resources
  405. #include "afxolesv.rc"  // OLE server resources
  406. #endif
  407.  
  408. #endif    // not APSTUDIO_INVOKED
  409.