home *** CD-ROM | disk | FTP | other *** search
/ Mastering Microsoft Visual C++ 4 (2nd Edition) / VisualC4.ISO / minidrw5 / minidraw.rc < prev    next >
Encoding:
Text File  |  1995-11-30  |  12.5 KB  |  401 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 "&Open...\tCtrl+O",            ID_FILE_OPEN
  77.         MENUITEM "&Save\tCtrl+S",               ID_FILE_SAVE
  78.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  79.         MENUITEM SEPARATOR
  80.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  81.         MENUITEM SEPARATOR
  82.         MENUITEM "E&xit",                       ID_APP_EXIT
  83.     END
  84.     POPUP "&Edit"
  85.     BEGIN
  86.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  87.         MENUITEM SEPARATOR
  88.         MENUITEM "&Delete All",                 ID_EDIT_CLEAR_ALL
  89.     END
  90.     POPUP "&Tools"
  91.     BEGIN
  92.         MENUITEM "&Line",                       ID_TOOLS_LINE
  93.         MENUITEM "&Rectangle",                  ID_TOOLS_RECTANGLE
  94.         MENUITEM "R&ect Fill",                  ID_TOOLS_RECTFILL
  95.         MENUITEM "Re&ct Round",                 ID_TOOLS_RECTROUND
  96.         MENUITEM "Rec&t Round Fill",            ID_TOOLS_RECTROUNDFILL
  97.         MENUITEM "C&ircle",                     ID_TOOLS_CIRCLE
  98.         MENUITEM "Circle &Fill",                ID_TOOLS_CIRCLEFILL
  99.     END
  100.     POPUP "&Lines"
  101.     BEGIN
  102.         MENUITEM "&Single",                     ID_LINE_SINGLE
  103.         MENUITEM "&Double",                     ID_LINE_DOUBLE
  104.         MENUITEM "&Triple",                     ID_LINE_TRIPLE
  105.     END
  106.     POPUP "&View"
  107.     BEGIN
  108.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  109.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  110.     END
  111.     POPUP "&Help"
  112.     BEGIN
  113.         MENUITEM "&About MiniDraw...",          ID_APP_ABOUT
  114.     END
  115. END
  116.  
  117.  
  118. /////////////////////////////////////////////////////////////////////////////
  119. //
  120. // Accelerator
  121. //
  122.  
  123. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  124. BEGIN
  125.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  126.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  127.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  128.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  129.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  130.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  131.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  132.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  133.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  134.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  135.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  136.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  137.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  138. END
  139.  
  140.  
  141. /////////////////////////////////////////////////////////////////////////////
  142. //
  143. // Dialog
  144. //
  145.  
  146. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  147. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  148. CAPTION "About MiniDraw"
  149. FONT 8, "MS Sans Serif"
  150. BEGIN
  151.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  152.     LTEXT           "MiniDraw Version 1.0",IDC_STATIC,40,10,119,8,
  153.                     SS_NOPREFIX
  154.     LTEXT           "Copyright ⌐ 1995",IDC_STATIC,40,25,119,8
  155.     DEFPUSHBUTTON   "OK",IDOK,178,7,32,14,WS_GROUP
  156. END
  157.  
  158.  
  159. #ifndef _MAC
  160. /////////////////////////////////////////////////////////////////////////////
  161. //
  162. // Version
  163. //
  164.  
  165. VS_VERSION_INFO VERSIONINFO
  166.  FILEVERSION 1,0,0,1
  167.  PRODUCTVERSION 1,0,0,1
  168.  FILEFLAGSMASK 0x3fL
  169. #ifdef _DEBUG
  170.  FILEFLAGS 0x1L
  171. #else
  172.  FILEFLAGS 0x0L
  173. #endif
  174.  FILEOS 0x4L
  175.  FILETYPE 0x1L
  176.  FILESUBTYPE 0x0L
  177. BEGIN
  178.     BLOCK "StringFileInfo"
  179.     BEGIN
  180.         BLOCK "040904B0"
  181.         BEGIN
  182.             VALUE "CompanyName", "\0"
  183.             VALUE "FileDescription", "MINIDRAW MFC Application\0"
  184.             VALUE "FileVersion", "1, 0, 0, 1\0"
  185.             VALUE "InternalName", "MINIDRAW\0"
  186.             VALUE "LegalCopyright", "Copyright ⌐ 1995\0"
  187.             VALUE "LegalTrademarks", "\0"
  188.             VALUE "OriginalFilename", "MINIDRAW.EXE\0"
  189.             VALUE "ProductName", "MINIDRAW Application\0"
  190.             VALUE "ProductVersion", "1, 0, 0, 1\0"
  191.         END
  192.     END
  193.     BLOCK "VarFileInfo"
  194.     BEGIN
  195.         VALUE "Translation", 0x409, 1200
  196.     END
  197. END
  198.  
  199. #endif    // !_MAC
  200.  
  201.  
  202. /////////////////////////////////////////////////////////////////////////////
  203. //
  204. // DESIGNINFO
  205. //
  206.  
  207. #ifdef APSTUDIO_INVOKED
  208. GUIDELINES DESIGNINFO DISCARDABLE 
  209. BEGIN
  210.     IDD_ABOUTBOX, DIALOG
  211.     BEGIN
  212.         LEFTMARGIN, 7
  213.         RIGHTMARGIN, 210
  214.         TOPMARGIN, 7
  215.         BOTTOMMARGIN, 48
  216.     END
  217. END
  218. #endif    // APSTUDIO_INVOKED
  219.  
  220.  
  221. /////////////////////////////////////////////////////////////////////////////
  222. //
  223. // Toolbar
  224. //
  225.  
  226. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  227. BEGIN
  228.     BUTTON      ID_TOOLS_LINE
  229.     SEPARATOR
  230.     BUTTON      ID_TOOLS_RECTANGLE
  231.     BUTTON      ID_TOOLS_RECTFILL
  232.     SEPARATOR
  233.     BUTTON      ID_TOOLS_RECTROUND
  234.     BUTTON      ID_TOOLS_RECTROUNDFILL
  235.     SEPARATOR
  236.     BUTTON      ID_TOOLS_CIRCLE
  237.     BUTTON      ID_TOOLS_CIRCLEFILL
  238.     SEPARATOR
  239.     BUTTON      ID_LINE_SINGLE
  240.     BUTTON      ID_LINE_DOUBLE
  241.     BUTTON      ID_LINE_TRIPLE
  242. END
  243.  
  244.  
  245. /////////////////////////////////////////////////////////////////////////////
  246. //
  247. // Bitmap
  248. //
  249.  
  250. IDR_MAINFRAME           BITMAP  DISCARDABLE     "res\\toolbar1.bmp"
  251.  
  252. /////////////////////////////////////////////////////////////////////////////
  253. //
  254. // String Table
  255. //
  256.  
  257. STRINGTABLE PRELOAD DISCARDABLE 
  258. BEGIN
  259.     IDR_MAINFRAME           "MiniDraw\n\nMiniDr\nMiniDraw Files (*.drw)\n.drw\nMiniDraw.Document\nMiniDr Document"
  260. END
  261.  
  262. STRINGTABLE PRELOAD DISCARDABLE 
  263. BEGIN
  264.     AFX_IDS_APP_TITLE       "MiniDraw"
  265.     AFX_IDS_IDLEMESSAGE     "Ready"
  266. END
  267.  
  268. STRINGTABLE DISCARDABLE 
  269. BEGIN
  270.     ID_INDICATOR_EXT        "EXT"
  271.     ID_INDICATOR_CAPS       "CAP"
  272.     ID_INDICATOR_NUM        "NUM"
  273.     ID_INDICATOR_SCRL       "SCRL"
  274.     ID_INDICATOR_OVR        "OVR"
  275.     ID_INDICATOR_REC        "REC"
  276. END
  277.  
  278. STRINGTABLE DISCARDABLE 
  279. BEGIN
  280.     ID_FILE_NEW             "Create a new document\nNew"
  281.     ID_FILE_OPEN            "Open an existing document\nOpen"
  282.     ID_FILE_CLOSE           "Close the active document\nClose"
  283.     ID_FILE_SAVE            "Save the active document\nSave"
  284.     ID_FILE_SAVE_AS         "Save the active document with a new name\nSave As"
  285. END
  286.  
  287. STRINGTABLE DISCARDABLE 
  288. BEGIN
  289.     ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"
  290.     ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"
  291. END
  292.  
  293. STRINGTABLE DISCARDABLE 
  294. BEGIN
  295.     ID_FILE_MRU_FILE1       "Open this document"
  296.     ID_FILE_MRU_FILE2       "Open this document"
  297.     ID_FILE_MRU_FILE3       "Open this document"
  298.     ID_FILE_MRU_FILE4       "Open this document"
  299.     ID_FILE_MRU_FILE5       "Open this document"
  300.     ID_FILE_MRU_FILE6       "Open this document"
  301.     ID_FILE_MRU_FILE7       "Open this document"
  302.     ID_FILE_MRU_FILE8       "Open this document"
  303.     ID_FILE_MRU_FILE9       "Open this document"
  304.     ID_FILE_MRU_FILE10      "Open this document"
  305.     ID_FILE_MRU_FILE11      "Open this document"
  306.     ID_FILE_MRU_FILE12      "Open this document"
  307.     ID_FILE_MRU_FILE13      "Open this document"
  308.     ID_FILE_MRU_FILE14      "Open this document"
  309.     ID_FILE_MRU_FILE15      "Open this document"
  310.     ID_FILE_MRU_FILE16      "Open this document"
  311. END
  312.  
  313. STRINGTABLE DISCARDABLE 
  314. BEGIN
  315.     ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"
  316.     ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"
  317. END
  318.  
  319. STRINGTABLE DISCARDABLE 
  320. BEGIN
  321.     ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
  322. END
  323.  
  324. STRINGTABLE DISCARDABLE 
  325. BEGIN
  326.     ID_EDIT_CLEAR           "Erase the selection\nErase"
  327.     ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"
  328.     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"
  329.     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"
  330.     ID_EDIT_FIND            "Find the specified text\nFind"
  331.     ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"
  332.     ID_EDIT_REPEAT          "Repeat the last action\nRepeat"
  333.     ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"
  334.     ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"
  335.     ID_EDIT_UNDO            "Undo the last action\nUndo"
  336.     ID_EDIT_REDO            "Redo the previously undone action\nRedo"
  337. END
  338.  
  339. STRINGTABLE DISCARDABLE 
  340. BEGIN
  341.     AFX_IDS_SCSIZE          "Change the window size"
  342.     AFX_IDS_SCMOVE          "Change the window position"
  343.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  344.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  345.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  346.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  347.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  348. END
  349.  
  350. STRINGTABLE DISCARDABLE 
  351. BEGIN
  352.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  353.     AFX_IDS_SCTASKLIST      "Activate Task List"
  354. END
  355.  
  356. STRINGTABLE DISCARDABLE 
  357. BEGIN
  358.     ID_TOOLS_LINE           "Select tool to draw straight lines\nLine"
  359. END
  360.  
  361. STRINGTABLE DISCARDABLE 
  362. BEGIN
  363.     ID_TOOLS_RECTANGLE      "Select tool to draw open rectangles\nRectangle"
  364.     ID_TOOLS_RECTFILL       "Select tool to draw filled rectangles\nFilled Rectangle"
  365.     ID_TOOLS_RECTROUND      "Select tool to draw open rectangles with rounded corners\nRound Rectangle"
  366.     ID_TOOLS_RECTROUNDFILL  "Select tool to draw filled rectangles with rounded corners\nRound Filled Rectangle"
  367.     ID_TOOLS_CIRCLE         "Select tool to draw open circles or ellipses\nCircle"
  368.     ID_TOOLS_CIRCLEFILL     "Select tool to draw filled circles or ellipses\nFilled Circle"
  369.     ID_LINE_SINGLE          "Draw using single-thickness lines\nSingle-Thickness Lines"
  370.     ID_LINE_DOUBLE          "Draw using double-thickness lines\nDouble-Thickness Lines"
  371.     ID_LINE_TRIPLE          "Draw using triple-thickness lines\nTriple-Thickness Lines"
  372. END
  373.  
  374. STRINGTABLE DISCARDABLE 
  375. BEGIN
  376.     ID_VIEW_TOOLBAR         "Show or hide the toolbar"
  377.     ID_VIEW_STATUS_BAR      "Show or hide the status bar"
  378. END
  379.  
  380. #endif    // English (U.S.) resources
  381. /////////////////////////////////////////////////////////////////////////////
  382.  
  383.  
  384.  
  385. #ifndef APSTUDIO_INVOKED
  386. /////////////////////////////////////////////////////////////////////////////
  387. //
  388. // Generated from the TEXTINCLUDE 3 resource.
  389. //
  390. #define _AFX_NO_SPLITTER_RESOURCES
  391. #define _AFX_NO_OLE_RESOURCES
  392. #define _AFX_NO_TRACKER_RESOURCES
  393. #define _AFX_NO_PROPERTY_RESOURCES
  394.  
  395. #include "res\MiniDraw.rc2"  // non-Microsoft Visual C++ edited resources
  396. #include "afxres.rc"         // Standard components
  397.  
  398. /////////////////////////////////////////////////////////////////////////////
  399. #endif    // not APSTUDIO_INVOKED
  400.  
  401.