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