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