Annotation of mstools/samples/filer/filer.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: 
                     14: #include <windows.h>
                     15: #include "globals.h"
                     16: 
1.1.1.2 ! root       17: #include <winver.h>
        !            18: 
        !            19: //
        !            20: // Dialog Boxes and Windows
        !            21: //
        !            22: #include "filer.dlg"
        !            23: 
1.1       root       24: //
                     25: // Icons
                     26: //
                     27: UI_FILERICON ICON filer.ico
                     28: 
                     29: //
                     30: // Bitmaps
                     31: //
                     32: UB_FLOPPY1  BITMAP  FLOPPY.BMP
                     33: UB_FLOPPY2  BITMAP  FLOPPY2.BMP
                     34: UB_REMOTE1  BITMAP  REMOTE.BMP
                     35: UB_REMOTE2  BITMAP  REMOTE2.BMP
                     36: UB_CD1      BITMAP  CD.BMP
                     37: UB_CD2      BITMAP  CD2.BMP
                     38: UB_FIXED1   BITMAP  FIXED.BMP
                     39: UB_FIXED2   BITMAP  FIXED2.BMP
                     40: 
                     41: //
                     42: // Menus
                     43: //
                     44: FilerMenu MENU
                     45: {
                     46:     POPUP  "&File"
                     47:     {
1.1.1.2 ! root       48:         MENUITEM "&Open\t Enter",                   MM_OPEN
        !            49:         MENUITEM SEPARATOR
        !            50:         MENUITEM "&Copy\t Ctrl-C",                  MM_COPY
        !            51:         MENUITEM "&Delete\t Ctrl-X",                MM_DELETE
        !            52:         MENUITEM "&Move\t Ctrl-M",                  MM_MOVE
        !            53:         MENUITEM "&Rename\t Ctrl-R",                MM_RENAME
        !            54:         MENUITEM "File &Version Info\t Alt-Enter",  MM_VERSION
1.1       root       55:         MENUITEM SEPARATOR
1.1.1.2 ! root       56:         MENUITEM "Ma&ke Dir\t Ctrl-K",              MM_MKDIR
        !            57:         MENUITEM "De&lete Dir\t Ctrl-L",            MM_DELDIR, GRAYED
1.1       root       58:         MENUITEM SEPARATOR
1.1.1.2 ! root       59:         MENUITEM "E&xit\t   Alt-F4",                MM_EXIT
1.1       root       60:     }
                     61:     POPUP  "&View"
                     62:     {
1.1.1.2 ! root       63:         MENUITEM "Toggle &Active Drive\t F2",       MM_ACTIVEDRV
        !            64:         MENUITEM "&Refresh\t F3",                   MM_REFRESH
1.1       root       65:         MENUITEM SEPARATOR
1.1.1.2 ! root       66:         MENUITEM "&Expand Tree\t F5",               MM_EXPAND
        !            67:         MENUITEM "&Keep Command Windows\t F6",      MM_KEEPCMD
1.1       root       68:         MENUITEM SEPARATOR
                     69:         MENUITEM "&Swap Sides\t F7",                MM_SWAP
                     70:         MENUITEM "Window &Orientation\t F8",        MM_ORIENT
1.1.1.2 ! root       71:         MENUITEM SEPARATOR
        !            72:         MENUITEM "&Focus Tree/File/Command\t Tab",  MM_TAB
        !            73:         MENUITEM "&Clear Selection/Abort\t Esc"           MM_ESCAPE
1.1       root       74:     }
                     75:     POPUP  "&Drives"                        // see DRIVE_MENU_NUM in filer.h
                     76:     {
                     77:         MENUITEM SEPARATOR
                     78:     }
                     79:     POPUP  "&Help"
                     80:     {
1.1.1.2 ! root       81:         MENUITEM "&About Filer...",                 MM_ABOUT
1.1       root       82:     }
                     83: }
                     84: 
                     85: //
                     86: // Accelerators
                     87: //
                     88: ACCEL_ID ACCELERATORS
                     89: {
                     90:     VK_TAB,     MM_TAB,         VIRTKEY
                     91:     VK_ESCAPE,  MM_ESCAPE,      VIRTKEY
                     92:     VK_RETURN,  MM_OPEN,        VIRTKEY
1.1.1.2 ! root       93:     VK_RETURN,  MM_VERSION,     VIRTKEY, ALT
        !            94:     VK_F4,      MM_EXIT,        VIRTKEY, ALT
        !            95:     VK_F2,      MM_ACTIVEDRV,   VIRTKEY
        !            96:     VK_F3,      MM_REFRESH,     VIRTKEY
        !            97:     VK_F5,      MM_EXPAND,      VIRTKEY
        !            98:     VK_F6,      MM_KEEPCMD,     VIRTKEY
1.1       root       99:     VK_F7,      MM_SWAP,        VIRTKEY
                    100:     VK_F8,      MM_ORIENT,      VIRTKEY
                    101: 
                    102:     VK_INSERT,  MM_COPY,        VIRTKEY, CONTROL
                    103:     "^C",       MM_COPY
                    104:     "^M",       MM_MOVE
                    105:     VK_DELETE,  MM_DELETE,      VIRTKEY, CONTROL
                    106:     "^X",       MM_DELETE
                    107:     "^R",       MM_RENAME
                    108:     "^K",       MM_MKDIR
                    109:     "^L",       MM_DELDIR
                    110: }
                    111: 
                    112: 
                    113: //
                    114: // String Table
                    115: //
                    116: 
                    117: STRINGTABLE
                    118: {
                    119: STR_EXE ".EXE"                      // file extensions for spawnable files
                    120: STR_COM ".COM"                      //   NUM_EXTENSION_STRINGS contains the
                    121: STR_CMD ".CMD"                      //   number of these strings.
                    122: STR_BAT ".BAT"
                    123: 
                    124: STR_DEF_EDITOR  "notepad.exe"
                    125: }
1.1.1.2 ! root      126: 
        !           127: 
        !           128: //
        !           129: // Version Information
        !           130: //
        !           131: VS_VERSION_INFO VERSIONINFO
        !           132: FILEVERSION 0,9,0,0
        !           133: PRODUCTVERSION  3,1,0,0
        !           134: FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
        !           135: FILEFLAGS       (VS_FF_PRERELEASE|VS_FF_DEBUG)
        !           136: FILEOS          VOS_NT_WINDOWS32
        !           137: FILETYPE        VFT_APP
        !           138: FILESUBTYPE     VFT2_UNKNOWN
        !           139: BEGIN
        !           140:     BLOCK "StringFileInfo"
        !           141:     BEGIN
        !           142:         BLOCK VERSION_INFO_LANG_ID
        !           143:         BEGIN
        !           144:             VALUE "CompanyName",     "Microsoft Corporation\0"
        !           145:             VALUE "FileDescription", "File Management Sample Application\0"
        !           146:             VALUE "FileVersion",     "1.0\0"
        !           147:             VALUE "InternalName",    "Filer\0"
        !           148:             VALUE "LegalCopyright",  "Copyright \251 Microsoft Corp. 1992 - 1993\0"
        !           149:             VALUE "LegalTrademarks", "Microsoft\256 is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation\0"
        !           150:             VALUE "ProductName",     "Filer\0"
        !           151:             VALUE "ProductVersion",  "1.0\0"
        !           152:         END
        !           153:     END
        !           154: 
        !           155:     BLOCK "VarFileInfo"
        !           156:     BEGIN
        !           157:         VALUE "Translation", 0x409, 1200           // English, Unicode
        !           158:     END
        !           159: END

unix.superglobalmegacorp.com

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