Annotation of mstools/samples/generic/generic.rc, revision 1.1.1.2

1.1.1.2 ! root        1: 
        !             2: //-----------------------------------------------------------------------------
        !             3: // This is a part of the Microsoft Source Code Samples. 
        !             4: // Copyright (C) 1993 Microsoft Corporation.
        !             5: // All rights reserved. 
        !             6: //  
        !             7: // This source code is only intended as a supplement to 
        !             8: // Microsoft Development Tools and/or WinHelp documentation.
        !             9: // See these sources for detailed information regarding the 
        !            10: // Microsoft samples programs.
        !            11: //-----------------------------------------------------------------------------
        !            12: 
1.1       root       13: #include "windows.h"
                     14: #include "generic.h"
                     15: 
                     16: Generic ICON Generic.ICO
                     17: 
                     18: Generic MENU
                     19: BEGIN
1.1.1.2 ! root       20:         POPUP "&File"
        !            21:         {
        !            22:                 MENUITEM "&New",            IDM_NEW,        GRAYED
        !            23:                 MENUITEM "&Open...",        IDM_OPEN,       GRAYED
        !            24:                 MENUITEM "&Save",           IDM_SAVE,       GRAYED
        !            25:                 MENUITEM "Save &As...",     IDM_SAVEAS,     GRAYED
        !            26:                 MENUITEM SEPARATOR
        !            27:                 MENUITEM "&Print...",       IDM_PRINT,      GRAYED
        !            28:                 MENUITEM "P&rint Setup...", IDM_PRINTSETUP, GRAYED
        !            29:                 MENUITEM SEPARATOR
        !            30:                 MENUITEM "E&xit",           IDM_EXIT
        !            31:         }
        !            32:         POPUP "&Edit"
        !            33:         {
        !            34:                 MENUITEM "&Undo\tCtrl+Z",   IDM_UNDO,   GRAYED
        !            35:                 MENUITEM SEPARATOR
        !            36:                 MENUITEM "Cu&t\tCtrl+X",    IDM_CUT,    GRAYED
        !            37:                 MENUITEM "&Copy\tCtrl+C",   IDM_COPY,   GRAYED
        !            38:                 MENUITEM "&Paste\tCtrl+V",  IDM_PASTE,  GRAYED
        !            39:                 MENUITEM "Paste &Link"      IDM_LINK,   GRAYED
        !            40:                 MENUITEM SEPARATOR
        !            41:                 MENUITEM "Lin&ks..."        IDM_LINKS,  GRAYED
        !            42:         }
        !            43: 
        !            44:         POPUP        "&Help"
        !            45:         {
        !            46:                 MENUITEM "&Contents",               IDM_HELPCONTENTS
        !            47:                 MENUITEM "&Search for Help On...",  IDM_HELPSEARCH
        !            48:                 MENUITEM "&How to Use Help",        IDM_HELPHELP
        !            49:                 MENUITEM SEPARATOR
        !            50:                 MENUITEM "&About Generic...",       IDM_ABOUT
        !            51:         }
1.1       root       52: END
                     53: 
                     54: GENERIC ACCELERATORS
                     55: BEGIN
1.1.1.2 ! root       56:         VK_F1, IDM_HELPCONTENTS, VIRTKEY
        !            57:         "?", IDM_ABOUT, ALT
        !            58:         "/", IDM_ABOUT, ALT
1.1       root       59: END
                     60: 
                     61: 
                     62: 
                     63: ; Bring in the dialogs:
                     64: RCINCLUDE GENERIC.DLG
                     65: 
                     66: ; Bring in the version stamping information:
                     67: RCINCLUDE GENERIC.RCV

unix.superglobalmegacorp.com

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