Annotation of mstools/samples/fontview/fontview.rc, revision 1.1

1.1     ! root        1: #include <Windows.H>
        !             2: #include "FontView.H"
        !             3: 
        !             4: FontView ICON FontView.ICO
        !             5: 
        !             6: #include "FontView.dlg"
        !             7: 
        !             8: FontView MENU
        !             9: BEGIN
        !            10:        POPUP "&File"
        !            11:        BEGIN
        !            12:                MENUITEM "&New",                IDM_NEW,        GRAYED
        !            13:                MENUITEM "&Open...",            IDM_OPEN,       GRAYED
        !            14:                MENUITEM "&Close",              IDM_CLOSE,      GRAYED
        !            15:                MENUITEM "&Save\tF3",           IDM_SAVE,       GRAYED
        !            16:                MENUITEM "Save &As...",         IDM_SAVEAS,     GRAYED
        !            17:                MENUITEM SEPARATOR
        !            18:                MENUITEM "&Print...",           IDM_PRINT,      GRAYED
        !            19:                MENUITEM "P&rint Setup...",     IDM_PRINTSET,   GRAYED
        !            20:                MENUITEM SEPARATOR
        !            21:                MENUITEM "E&xit",               IDM_EXIT
        !            22:        END
        !            23: 
        !            24:        POPUP "&Edit"
        !            25:        BEGIN
        !            26:                MENUITEM "&Undo",               IDM_UNDO,       GRAYED
        !            27:                MENUITEM SEPARATOR
        !            28:                MENUITEM "Cu&t",                IDM_CUT,        GRAYED
        !            29:                MENUITEM "&Copy",               IDM_COPY,       GRAYED
        !            30:                MENUITEM "&Paste",              IDM_PASTE,      GRAYED
        !            31:                MENUITEM "&Delete",             IDM_DELETE,      GRAYED
        !            32:                MENUITEM SEPARATOR
        !            33:                MENUITEM "&Find..."             IDM_FIND,       GRAYED
        !            34:                MENUITEM "&Replace..."          IDM_REPLACE,    GRAYED
        !            35:        END
        !            36: 
        !            37:        POPUP "&View"
        !            38:        BEGIN
        !            39:                MENUITEM "Character Set"    -1, GRAYED
        !            40:                MENUITEM "Glyph Metrics"    -1, GRAYED
        !            41:                MENUITEM SEPARATOR
        !            42:                MENUITEM "&ToolBar"             IDM_TOOLBAR,    GRAYED
        !            43:                MENUITEM "&Status"              IDM_STATUSBAR,  GRAYED
        !            44:        END
        !            45: 
        !            46:        POPUP "&Metrics"
        !            47:        BEGIN
        !            48:                MENUITEM "&CreateFont...", IDM_TEST1
        !            49:                MENUITEM "&TextMetrics...", IDM_TEST2
        !            50:                MENUITEM "&EnumFonts...", IDM_TEST3
        !            51:                MENUITEM "&OutlineTextMetrics...", IDM_TEST4, GRAYED
        !            52:        END
        !            53:        POPUP "&Help"
        !            54:        BEGIN
        !            55:                MENUITEM "&Index",              IDM_HELP_INDEX,     GRAYED
        !            56:                MENUITEM "&Keyboard",           IDM_HELP_KEYBOARD,  GRAYED
        !            57:                MENUITEM "Using &Help",         IDM_HELP_USAGE,     GRAYED
        !            58:                MENUITEM "&Usage...\tAlt+!",    IDM_USAGE
        !            59:                MENUITEM SEPARATOR
        !            60:                MENUITEM "&About...\tAlt+?",    IDM_ABOUT
        !            61:        END
        !            62: END
        !            63: 
        !            64: 
        !            65: 
        !            66: FontView ACCELERATORS
        !            67: BEGIN
        !            68:        "?", IDM_ABOUT, ALT
        !            69:        "/", IDM_ABOUT, ALT
        !            70: 
        !            71:        "!", IDM_USAGE, ALT
        !            72:        "1", IDM_USAGE, ALT
        !            73: END
        !            74: 
        !            75: STRINGTABLE
        !            76: BEGIN
        !            77:        IDM_SYSMENU "Move, size or close application window"
        !            78:        IDM_FILE    "Create, open, save or print files"
        !            79:        IDM_NEW     "Create a new file"
        !            80:        IDM_OPEN    "Open and existing file"
        !            81:        IDM_CLOSE   "Close the active file/window"
        !            82:        IDM_SAVE    "Save the active file"
        !            83:        IDM_SAVEAS  "Save the active file with a new name"
        !            84:        IDM_PRINT   "Print contents of active window"
        !            85:        IDM_PRINTSET "Select desired printer configuration"
        !            86:        IDM_EXIT    "Exit this application"
        !            87: 
        !            88:        IDM_EDIT    "Undo, cut, copy, paste, clear"
        !            89:        IDM_UNDO    "Undo the last edit operation"
        !            90:        IDM_CUT     "Move the selected object to the clipboard"
        !            91:        IDM_COPY    "Copy the selected object to the clipbpard"
        !            92:        IDM_PASTE   "Paste the contents of the clipboard into the current location"
        !            93:        IDM_DELETE  "Delete the selected object without altering the clipboard"
        !            94:        IDM_FIND    "Search for text pattern"
        !            95:        IDM_REPLACE "Search for and replace text pattern"
        !            96: 
        !            97:        IDM_TOOLBAR     "Toggle visibility of toolbar"
        !            98:        IDM_STATUSBAR   "Toggle visibility of statusbar"
        !            99: 
        !           100:        IDM_ITEM    "Example Menu Selections"
        !           101:        IDM_TEST1   "CreateFont Menu Item"
        !           102:        IDM_TEST2   "GetTextMetrics Menu Item"
        !           103:        IDM_TEST3   "Enumerate Fonts Menu Item"
        !           104:        IDM_TEST4   "Outline TextMetrics Menu Item"
        !           105: 
        !           106:        IDM_HELP    "Get help on using FontView"
        !           107:        IDM_HELP_INDEX      "Display list of help topics"
        !           108:        IDM_HELP_KEYBOARD   "Display keys and their actions"
        !           109:        IDM_HELP_USAGE      "Display instructions for using help"
        !           110:        IDM_ABOUT   "About this application"
        !           111:        IDM_USAGE   "I don't know how to use this program either..."
        !           112: 
        !           113:        ID_TOOLBAR  "This is the toolbar"
        !           114:        ID_CREATEPARAM  "Select 'CreateFont' Parameter to set"
        !           115:        ID_CREATEVALUE  "Select desired value for 'CreateFont' Parameter"
        !           116: 
        !           117:        ID_STATUSBAR    "This is the status bar"
        !           118:        ID_MENUFIELD    "This field displays various informational text, like this one"
        !           119:        ID_NUMFIELD     "This reflects the current state of the NUM LOCK toggle key"
        !           120:        ID_OVRFIELD     "This reflects the current state of the INSERT toggle key"
        !           121:        ID_SCROLLFIELD  "This reflects the current state of the SCROLL LOCK toggle key"
        !           122:        ID_CAPSFIELD    "This reflects the current state of the CAPS LOCK toggle key"
        !           123:        ID_TIMEFIELD    "This is the current time"
        !           124: 
        !           125: // Not all of these will actually be used:
        !           126:        SC_SIZE         "Change window size"
        !           127:        SC_MOVE         "Change window position"
        !           128:        SC_MINIMIZE     "Reduce window to icon"
        !           129:        SC_MAXIMIZE     "Enlage window to full size"
        !           130:        SC_NEXTWINDOW   "[Switch to next window]"
        !           131:        SC_PREVWINDOW   "[Switch to previous window]"
        !           132:        SC_CLOSE        "Close window and quit application"
        !           133:        SC_VSCROLL      "[Scroll window vertically]"
        !           134:        SC_HSCROLL      "[Scroll window horizontally]"
        !           135:        SC_MOUSEMENU    "[Mouse was used to select menu item]"
        !           136:        SC_KEYMENU      "[Keyboard was used to select menu item]"
        !           137:        SC_ARRANGE      "[Arrange window]"
        !           138:        SC_RESTORE      "Restore window to normal size"
        !           139:        SC_TASKLIST     "Activate Task List"
        !           140: END

unix.superglobalmegacorp.com

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