home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / atl / dcom / atldraw / atldraw.rc < prev    next >
Encoding:
Text File  |  1998-03-27  |  11.6 KB  |  401 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.     POPUP "&Help"
  142.     BEGIN
  143.         MENUITEM "&About ATLDraw...",           ID_APP_ABOUT
  144.     END
  145. END
  146.  
  147.  
  148. /////////////////////////////////////////////////////////////////////////////
  149. //
  150. // Accelerator
  151. //
  152.  
  153. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  154. BEGIN
  155.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  156.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  157.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  158.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  159.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  160.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  161.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  162.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  163.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  164.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  165.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  166.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  167.     VK_F6,          ID_NEXT_PANE,           VIRTKEY
  168.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  169. END
  170.  
  171.  
  172. /////////////////////////////////////////////////////////////////////////////
  173. //
  174. // Dialog
  175. //
  176.  
  177. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  178. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  179. CAPTION "About ATLDraw"
  180. FONT 8, "MS Sans Serif"
  181. BEGIN
  182.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  183.     LTEXT           "ATLDraw Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX
  184.     LTEXT           "Copyright ⌐ 1996",IDC_STATIC,40,25,119,8
  185.     DEFPUSHBUTTON   "OK",IDOK,178,7,32,14,WS_GROUP
  186. END
  187.  
  188.  
  189. /////////////////////////////////////////////////////////////////////////////
  190. //
  191. // Version
  192. //
  193.  
  194. VS_VERSION_INFO VERSIONINFO
  195.  FILEVERSION 1,0,0,1
  196.  PRODUCTVERSION 1,0,0,1
  197.  FILEFLAGSMASK 0x3fL
  198. #ifdef _DEBUG
  199.  FILEFLAGS 0x1L
  200. #else
  201.  FILEFLAGS 0x0L
  202. #endif
  203.  FILEOS 0x4L
  204.  FILETYPE 0x1L
  205.  FILESUBTYPE 0x0L
  206. BEGIN
  207.     BLOCK "StringFileInfo"
  208.     BEGIN
  209.         BLOCK "040904B0"
  210.         BEGIN
  211.             VALUE "CompanyName", "\0"
  212.             VALUE "FileDescription", "ATLDRAW MFC Application\0"
  213.             VALUE "FileVersion", "1, 0, 0, 1\0"
  214.             VALUE "InternalName", "ATLDRAW\0"
  215.             VALUE "LegalCopyright", "Copyright ⌐ 1996\0"
  216.             VALUE "LegalTrademarks", "\0"
  217.             VALUE "OriginalFilename", "ATLDRAW.EXE\0"
  218.             VALUE "ProductName", "ATLDRAW Application\0"
  219.             VALUE "ProductVersion", "1, 0, 0, 1\0"
  220.         END
  221.     END
  222.     BLOCK "VarFileInfo"
  223.     BEGIN
  224.         VALUE "Translation", 0x409, 1200
  225.     END
  226. END
  227.  
  228.  
  229.  
  230. /////////////////////////////////////////////////////////////////////////////
  231. //
  232. // DESIGNINFO
  233. //
  234.  
  235. #ifdef APSTUDIO_INVOKED
  236. GUIDELINES DESIGNINFO DISCARDABLE
  237. BEGIN
  238.     IDD_ABOUTBOX, DIALOG
  239.     BEGIN
  240.         LEFTMARGIN, 7
  241.         RIGHTMARGIN, 210
  242.         TOPMARGIN, 7
  243.         BOTTOMMARGIN, 48
  244.     END
  245. END
  246. #endif    // APSTUDIO_INVOKED
  247.  
  248.  
  249. /////////////////////////////////////////////////////////////////////////////
  250. //
  251. // String Table
  252. //
  253.  
  254. STRINGTABLE PRELOAD DISCARDABLE
  255. BEGIN
  256.     IDR_MAINFRAME           "ATLDraw\n\nATLDra\n\n\nATLDraw.Document\nATLDra Document"
  257. END
  258.  
  259. STRINGTABLE PRELOAD DISCARDABLE
  260. BEGIN
  261.     AFX_IDS_APP_TITLE       "ATLDraw"
  262.     AFX_IDS_IDLEMESSAGE     "Ready"
  263. END
  264.  
  265. STRINGTABLE DISCARDABLE
  266. BEGIN
  267.     ID_INDICATOR_EXT        "EXT"
  268.     ID_INDICATOR_CAPS       "CAP"
  269.     ID_INDICATOR_NUM        "NUM"
  270.     ID_INDICATOR_SCRL       "SCRL"
  271.     ID_INDICATOR_OVR        "OVR"
  272.     ID_INDICATOR_REC        "REC"
  273. END
  274.  
  275. STRINGTABLE DISCARDABLE
  276. BEGIN
  277.     ID_FILE_NEW             "Create a new document\nNew"
  278.     ID_FILE_OPEN            "Open an existing document\nOpen"
  279.     ID_FILE_CLOSE           "Close the active document\nClose"
  280.     ID_FILE_SAVE            "Save the active document\nSave"
  281.     ID_FILE_SAVE_AS         "Save the active document with a new name\nSave As"
  282.     ID_FILE_PAGE_SETUP      "Change the printing options\nPage Setup"
  283.     ID_FILE_PRINT_SETUP     "Change the printer and printing options\nPrint Setup"
  284.     ID_FILE_PRINT           "Print the active document\nPrint"
  285.     ID_FILE_PRINT_PREVIEW   "Display full pages\nPrint Preview"
  286. END
  287.  
  288. STRINGTABLE DISCARDABLE
  289. BEGIN
  290.     ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"
  291.     ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"
  292. END
  293.  
  294. STRINGTABLE DISCARDABLE
  295. BEGIN
  296.     ID_FILE_MRU_FILE1       "Open this document"
  297.     ID_FILE_MRU_FILE2       "Open this document"
  298.     ID_FILE_MRU_FILE3       "Open this document"
  299.     ID_FILE_MRU_FILE4       "Open this document"
  300.     ID_FILE_MRU_FILE5       "Open this document"
  301.     ID_FILE_MRU_FILE6       "Open this document"
  302.     ID_FILE_MRU_FILE7       "Open this document"
  303.     ID_FILE_MRU_FILE8       "Open this document"
  304.     ID_FILE_MRU_FILE9       "Open this document"
  305.     ID_FILE_MRU_FILE10      "Open this document"
  306.     ID_FILE_MRU_FILE11      "Open this document"
  307.     ID_FILE_MRU_FILE12      "Open this document"
  308.     ID_FILE_MRU_FILE13      "Open this document"
  309.     ID_FILE_MRU_FILE14      "Open this document"
  310.     ID_FILE_MRU_FILE15      "Open this document"
  311.     ID_FILE_MRU_FILE16      "Open this document"
  312. END
  313.  
  314. STRINGTABLE DISCARDABLE
  315. BEGIN
  316.     ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"
  317.     ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"
  318. END
  319.  
  320. STRINGTABLE DISCARDABLE
  321. BEGIN
  322.     ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
  323. END
  324.  
  325. STRINGTABLE DISCARDABLE
  326. BEGIN
  327.     ID_EDIT_CLEAR           "Erase the selection\nErase"
  328.     ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"
  329.     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"
  330.     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"
  331.     ID_EDIT_FIND            "Find the specified text\nFind"
  332.     ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"
  333.     ID_EDIT_REPEAT          "Repeat the last action\nRepeat"
  334.     ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"
  335.     ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"
  336.     ID_EDIT_UNDO            "Undo the last action\nUndo"
  337.     ID_EDIT_REDO            "Redo the previously undone action\nRedo"
  338. END
  339.  
  340. STRINGTABLE DISCARDABLE
  341. BEGIN
  342.     ID_VIEW_TOOLBAR         "Show or hide the toolbar\nToggle ToolBar"
  343.     ID_VIEW_STATUS_BAR      "Show or hide the status bar\nToggle StatusBar"
  344. END
  345.  
  346. STRINGTABLE DISCARDABLE
  347. BEGIN
  348.     AFX_IDS_SCSIZE          "Change the window size"
  349.     AFX_IDS_SCMOVE          "Change the window position"
  350.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  351.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  352.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  353.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  354.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  355. END
  356.  
  357. STRINGTABLE DISCARDABLE
  358. BEGIN
  359.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  360.     AFX_IDS_SCTASKLIST      "Activate Task List"
  361. END
  362.  
  363. STRINGTABLE DISCARDABLE
  364. BEGIN
  365.     AFX_IDS_PREVIEW_CLOSE   "Close print preview mode\nCancel Preview"
  366. END
  367.  
  368. STRINGTABLE DISCARDABLE
  369. BEGIN
  370.     ID_SERVER_CONNECT       "Connect to Draw Server"
  371.     ID_SERVER_DISCONNENT    "Disconnect from Draw Server"
  372.     ID_VIEW_COLOR           "Change the color"
  373. END
  374.  
  375. #endif    // English (U.S.) resources
  376. /////////////////////////////////////////////////////////////////////////////
  377.  
  378.  
  379.  
  380. #ifndef APSTUDIO_INVOKED
  381. /////////////////////////////////////////////////////////////////////////////
  382. //
  383. // Generated from the TEXTINCLUDE 3 resource.
  384. //
  385. #define _AFX_NO_SPLITTER_RESOURCES
  386. #define _AFX_NO_OLE_RESOURCES
  387. #define _AFX_NO_TRACKER_RESOURCES
  388. #define _AFX_NO_PROPERTY_RESOURCES
  389.  
  390. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  391. #ifdef _WIN32
  392. LANGUAGE 9, 1
  393. #pragma code_page(1252)
  394. #endif
  395. #include "res\ATLDraw.rc2"  // non-Microsoft Visual C++ edited resources
  396. #include "afxres.rc"         // Standard components
  397. #include "afxprint.rc"       // printing/print preview resources
  398. #endif
  399. /////////////////////////////////////////////////////////////////////////////
  400. #endif    // not APSTUDIO_INVOKED
  401.