Annotation of mstools/mfc/samples/oclient/oclient.rc, revision 1.1.1.1

1.1       root        1: /* oclient.rc : Defines the resources for the application.
                      2: //
                      3: // This is a part of the Microsoft Foundation Classes C++ library.
                      4: // Copyright (C) 1992 Microsoft Corporation
                      5: // All rights reserved.
                      6: //
                      7: // This source code is only intended as a supplement to the
                      8: // Microsoft Foundation Classes Reference and Microsoft
                      9: // QuickHelp documentation provided with the library.
                     10: // See these sources for detailed information regarding the
                     11: // Microsoft Foundation Classes product.
                     12: //
                     13: */
                     14: 
                     15: #include <windows.h>
                     16: #include "resource.h"
                     17: #include <afxres.h>
                     18: #include <afxoleUI.h>
                     19: 
                     20: 
                     21: AFX_IDI_STD_FRAME       ICON        oclient.ico
                     22: 
                     23: ID_APPLICATION MENU
                     24: BEGIN
                     25:        POPUP       "&File"
                     26:        BEGIN
                     27:                MENUITEM    "&New",         IDM_NEW
                     28:                MENUITEM    "&Open...",     IDM_OPEN
                     29:                MENUITEM    "&Save",        IDM_SAVE
                     30:                MENUITEM    "Save &As...",  IDM_SAVEAS
                     31:                MENUITEM    SEPARATOR
                     32: 
                     33:                MENUITEM    "E&xit",            IDM_EXIT
                     34:        END
                     35: 
                     36:        POPUP       "&Edit"
                     37:        BEGIN
                     38:                MENUITEM    "Cu&t\tShift+Del",      IDM_CUT
                     39:                MENUITEM    "&Copy\tCtrl+Ins",      IDM_COPY
                     40:                MENUITEM    "&Paste\tShift+Ins",    IDM_PASTE
                     41:                MENUITEM    "Paste &Link",          IDM_PASTELINK
                     42:                MENUITEM    SEPARATOR
                     43:                MENUITEM    "Clea&r\tDel",          IDM_CLEAR
                     44:                MENUITEM    "Clear &All",           IDM_CLEARALL
                     45:                MENUITEM    SEPARATOR
                     46:                MENUITEM    "Insert &New Object...",IDM_INSERT_OBJECT
                     47:                MENUITEM    "Lin&ks...",            IDM_LINKS
                     48:                MENUITEM    "",                     IDM_OBJECT_VERB_MIN
                     49:                                ;; NOTE: will be replaced at run-time with appropriate string
                     50:        END
                     51: 
                     52:        POPUP   "&Help"
                     53:        BEGIN
                     54:                MENUITEM    "&About...",        IDM_ABOUT
                     55:        END
                     56: END
                     57: 
                     58: ID_APPLICATION ACCELERATORS
                     59: BEGIN
                     60:        VK_DELETE,  IDM_CUT,    VIRTKEY, SHIFT
                     61:        VK_INSERT,  IDM_COPY,   VIRTKEY, CONTROL
                     62:        VK_INSERT,  IDM_PASTE,  VIRTKEY, SHIFT
                     63:        VK_DELETE,  IDM_CLEAR,  VIRTKEY
                     64: END
                     65: 
                     66: STRINGTABLE DISCARDABLE PRELOAD
                     67: BEGIN
                     68:                IDS_APPNAME,            "OLEClient"
                     69:                IDS_UNTITLED,           "(Untitled)"
                     70: 
                     71:                // for COMMDLG support
                     72:                IDS_FILTER,    "OLE Client File(s) (*.olc)|*.olc|All Files (*.*)|*.*||"
                     73:                IDS_EXTENSION,          "olc"
                     74:                IDS_OPENFILE,           "File Open"
                     75:                IDS_SAVEFILE,           "File Save As"
                     76: 
                     77: END
                     78: 
                     79: // Prompts
                     80: STRINGTABLE DISCARDABLE
                     81: BEGIN
                     82:                IDS_MAYBESAVE,          "Save Changes to %s?"
                     83:                IDS_SAVEINCOMPLETE      "Document is incomplete, save anyway?"
                     84: END
                     85: 
                     86: // Warnings and Errors
                     87: STRINGTABLE DISCARDABLE LOADONCALL
                     88: BEGIN
                     89:                W_FAILED_TO_NOTIFY,     "Warning:  Failed to notify library."
                     90:                E_FAILED_TO_OPEN_FILE,  "Failed to open file."
                     91:                E_FAILED_TO_READ_FILE,  "Failed to read file."
                     92:                E_FAILED_TO_SAVE_FILE,  "Failed to save file."
                     93:                E_INVALID_FILENAME,     "Invalid filename."
                     94:                E_CLIPBOARD_CUT_FAILED, "Cut to clipboard failed."
                     95:                E_CLIPBOARD_COPY_FAILED, "Copy to clipboard failed."
                     96:                E_GET_FROM_CLIPBOARD_FAILED, "Failed to paste object from clipboard."
                     97:                E_BUSY,                 "Server is still busy."
                     98:                E_FAILED_TO_CREATE,     "Failed to create object."
                     99:                E_FAILED_TO_LAUNCH,     "Failed to launch server application."
                    100: END
                    101: 
                    102: 
                    103: IDDT_ABOUT DIALOG LOADONCALL MOVEABLE DISCARDABLE 22, 17, 144, 75
                    104: CAPTION "About Ole Client"
                    105: STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
                    106: BEGIN
                    107:        CTEXT "Microsoft Foundation" -1, 0, 5, 144, 8
                    108:        CTEXT "OLE Client Application" -1, 0, 14, 144, 8
                    109:        CTEXT "Version 3.1" -1, 0, 34, 144, 8
                    110:        DEFPUSHBUTTON "OK" IDOK,53, 59, 32, 14, WS_GROUP
                    111: END
                    112: 
                    113: // Plus standard OLE UI components
                    114: 
                    115: #include <afxoleUI.rc>

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.