home *** CD-ROM | disk | FTP | other *** search
/ Mastering Microsoft Visual C++ 4 (2nd Edition) / VisualC4.ISO / minidrw1 / minidraw.rc < prev    next >
Encoding:
Text File  |  1995-11-30  |  9.3 KB  |  314 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.     "#include ""res\\MiniDraw.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
  49.     "#include ""afxres.rc""         // Standard components\r\n"
  50.     "\0"
  51. END
  52.  
  53. #endif    // APSTUDIO_INVOKED
  54.  
  55.  
  56. /////////////////////////////////////////////////////////////////////////////
  57. //
  58. // Icon
  59. //
  60.  
  61. // Icon with lowest ID value placed first to ensure application icon
  62. // remains consistent on all systems.
  63. IDR_MAINFRAME           ICON    DISCARDABLE     "res\\MiniDraw.ico"
  64. IDR_MINIDRTYPE          ICON    DISCARDABLE     "res\\MiniDDoc.ico"
  65.  
  66. /////////////////////////////////////////////////////////////////////////////
  67. //
  68. // Menu
  69. //
  70.  
  71. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  72. BEGIN
  73.     POPUP "&File"
  74.     BEGIN
  75.         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
  76.         MENUITEM SEPARATOR
  77.         MENUITEM "E&xit",                       ID_APP_EXIT
  78.     END
  79.     POPUP "&Help"
  80.     BEGIN
  81.         MENUITEM "&About MiniDraw...",          ID_APP_ABOUT
  82.     END
  83. END
  84.  
  85.  
  86. /////////////////////////////////////////////////////////////////////////////
  87. //
  88. // Accelerator
  89. //
  90.  
  91. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  92. BEGIN
  93.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  94.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  95.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  96.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  97.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  98.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  99.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  100.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  101.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  102.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  103.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  104.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  105.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  106. END
  107.  
  108.  
  109. /////////////////////////////////////////////////////////////////////////////
  110. //
  111. // Dialog
  112. //
  113.  
  114. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  115. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  116. CAPTION "About MiniDraw"
  117. FONT 8, "MS Sans Serif"
  118. BEGIN
  119.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  120.     LTEXT           "MiniDraw Version 1.0",IDC_STATIC,40,10,119,8,
  121.                     SS_NOPREFIX
  122.     LTEXT           "Copyright ⌐ 1995",IDC_STATIC,40,25,119,8
  123.     DEFPUSHBUTTON   "OK",IDOK,178,7,32,14,WS_GROUP
  124. END
  125.  
  126.  
  127. #ifndef _MAC
  128. /////////////////////////////////////////////////////////////////////////////
  129. //
  130. // Version
  131. //
  132.  
  133. VS_VERSION_INFO VERSIONINFO
  134.  FILEVERSION 1,0,0,1
  135.  PRODUCTVERSION 1,0,0,1
  136.  FILEFLAGSMASK 0x3fL
  137. #ifdef _DEBUG
  138.  FILEFLAGS 0x1L
  139. #else
  140.  FILEFLAGS 0x0L
  141. #endif
  142.  FILEOS 0x4L
  143.  FILETYPE 0x1L
  144.  FILESUBTYPE 0x0L
  145. BEGIN
  146.     BLOCK "StringFileInfo"
  147.     BEGIN
  148.         BLOCK "040904B0"
  149.         BEGIN
  150.             VALUE "CompanyName", "\0"
  151.             VALUE "FileDescription", "MINIDRAW MFC Application\0"
  152.             VALUE "FileVersion", "1, 0, 0, 1\0"
  153.             VALUE "InternalName", "MINIDRAW\0"
  154.             VALUE "LegalCopyright", "Copyright ⌐ 1995\0"
  155.             VALUE "LegalTrademarks", "\0"
  156.             VALUE "OriginalFilename", "MINIDRAW.EXE\0"
  157.             VALUE "ProductName", "MINIDRAW Application\0"
  158.             VALUE "ProductVersion", "1, 0, 0, 1\0"
  159.         END
  160.     END
  161.     BLOCK "VarFileInfo"
  162.     BEGIN
  163.         VALUE "Translation", 0x409, 1200
  164.     END
  165. END
  166.  
  167. #endif    // !_MAC
  168.  
  169.  
  170. /////////////////////////////////////////////////////////////////////////////
  171. //
  172. // DESIGNINFO
  173. //
  174.  
  175. #ifdef APSTUDIO_INVOKED
  176. GUIDELINES DESIGNINFO DISCARDABLE 
  177. BEGIN
  178.     IDD_ABOUTBOX, DIALOG
  179.     BEGIN
  180.         LEFTMARGIN, 7
  181.         RIGHTMARGIN, 210
  182.         TOPMARGIN, 7
  183.         BOTTOMMARGIN, 48
  184.     END
  185. END
  186. #endif    // APSTUDIO_INVOKED
  187.  
  188.  
  189. /////////////////////////////////////////////////////////////////////////////
  190. //
  191. // String Table
  192. //
  193.  
  194. STRINGTABLE PRELOAD DISCARDABLE 
  195. BEGIN
  196.     IDR_MAINFRAME           "MiniDraw\n\nMiniDr\n\n\nMiniDraw.Document\nMiniDr Document"
  197. END
  198.  
  199. STRINGTABLE PRELOAD DISCARDABLE 
  200. BEGIN
  201.     AFX_IDS_APP_TITLE       "MiniDraw"
  202.     AFX_IDS_IDLEMESSAGE     "Ready"
  203. END
  204.  
  205. STRINGTABLE DISCARDABLE 
  206. BEGIN
  207.     ID_INDICATOR_EXT        "EXT"
  208.     ID_INDICATOR_CAPS       "CAP"
  209.     ID_INDICATOR_NUM        "NUM"
  210.     ID_INDICATOR_SCRL       "SCRL"
  211.     ID_INDICATOR_OVR        "OVR"
  212.     ID_INDICATOR_REC        "REC"
  213. END
  214.  
  215. STRINGTABLE DISCARDABLE 
  216. BEGIN
  217.     ID_FILE_NEW             "Create a new document\nNew"
  218.     ID_FILE_OPEN            "Open an existing document\nOpen"
  219.     ID_FILE_CLOSE           "Close the active document\nClose"
  220.     ID_FILE_SAVE            "Save the active document\nSave"
  221.     ID_FILE_SAVE_AS         "Save the active document with a new name\nSave As"
  222. END
  223.  
  224. STRINGTABLE DISCARDABLE 
  225. BEGIN
  226.     ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"
  227.     ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"
  228. END
  229.  
  230. STRINGTABLE DISCARDABLE 
  231. BEGIN
  232.     ID_FILE_MRU_FILE1       "Open this document"
  233.     ID_FILE_MRU_FILE2       "Open this document"
  234.     ID_FILE_MRU_FILE3       "Open this document"
  235.     ID_FILE_MRU_FILE4       "Open this document"
  236.     ID_FILE_MRU_FILE5       "Open this document"
  237.     ID_FILE_MRU_FILE6       "Open this document"
  238.     ID_FILE_MRU_FILE7       "Open this document"
  239.     ID_FILE_MRU_FILE8       "Open this document"
  240.     ID_FILE_MRU_FILE9       "Open this document"
  241.     ID_FILE_MRU_FILE10      "Open this document"
  242.     ID_FILE_MRU_FILE11      "Open this document"
  243.     ID_FILE_MRU_FILE12      "Open this document"
  244.     ID_FILE_MRU_FILE13      "Open this document"
  245.     ID_FILE_MRU_FILE14      "Open this document"
  246.     ID_FILE_MRU_FILE15      "Open this document"
  247.     ID_FILE_MRU_FILE16      "Open this document"
  248. END
  249.  
  250. STRINGTABLE DISCARDABLE 
  251. BEGIN
  252.     ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"
  253.     ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"
  254. END
  255.  
  256. STRINGTABLE DISCARDABLE 
  257. BEGIN
  258.     ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
  259. END
  260.  
  261. STRINGTABLE DISCARDABLE 
  262. BEGIN
  263.     ID_EDIT_CLEAR           "Erase the selection\nErase"
  264.     ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"
  265.     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"
  266.     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"
  267.     ID_EDIT_FIND            "Find the specified text\nFind"
  268.     ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"
  269.     ID_EDIT_REPEAT          "Repeat the last action\nRepeat"
  270.     ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"
  271.     ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"
  272.     ID_EDIT_UNDO            "Undo the last action\nUndo"
  273.     ID_EDIT_REDO            "Redo the previously undone action\nRedo"
  274. END
  275.  
  276. STRINGTABLE DISCARDABLE 
  277. BEGIN
  278.     AFX_IDS_SCSIZE          "Change the window size"
  279.     AFX_IDS_SCMOVE          "Change the window position"
  280.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  281.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  282.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  283.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  284.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  285. END
  286.  
  287. STRINGTABLE DISCARDABLE 
  288. BEGIN
  289.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  290.     AFX_IDS_SCTASKLIST      "Activate Task List"
  291. END
  292.  
  293. #endif    // English (U.S.) resources
  294. /////////////////////////////////////////////////////////////////////////////
  295.  
  296.  
  297.  
  298. #ifndef APSTUDIO_INVOKED
  299. /////////////////////////////////////////////////////////////////////////////
  300. //
  301. // Generated from the TEXTINCLUDE 3 resource.
  302. //
  303. #define _AFX_NO_SPLITTER_RESOURCES
  304. #define _AFX_NO_OLE_RESOURCES
  305. #define _AFX_NO_TRACKER_RESOURCES
  306. #define _AFX_NO_PROPERTY_RESOURCES
  307.  
  308. #include "res\MiniDraw.rc2"  // non-Microsoft Visual C++ edited resources
  309. #include "afxres.rc"         // Standard components
  310.  
  311. /////////////////////////////////////////////////////////////////////////////
  312. #endif    // not APSTUDIO_INVOKED
  313.  
  314.