home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / com / dcom / atldraw / atldraw.rc < prev    next >
Text File  |  1998-04-02  |  13KB  |  406 lines

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