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

1.1       root        1: #include <Windows.H>
                      2: #include "FontView.H"
                      3: 
                      4: FontView ICON FontView.ICO
1.1.1.2 ! root        5: FontView BITMAP FontView.BMP
        !             6: ZOOM ICON ZOOM.ICO
1.1       root        7: 
                      8: #include "FontView.dlg"
                      9: 
                     10: FontView MENU
                     11: BEGIN
1.1.1.2 ! root       12:     POPUP "&File"
        !            13:     BEGIN
        !            14:         MENUITEM "&New",                IDM_NEW,        GRAYED
        !            15:         MENUITEM "&Open...",            IDM_OPEN,       GRAYED
        !            16:         MENUITEM "&Close",              IDM_CLOSE,      GRAYED
        !            17:         MENUITEM "&Save\tF3",           IDM_SAVE,       GRAYED
        !            18:         MENUITEM "Save &As...",         IDM_SAVEAS,     GRAYED
        !            19:         MENUITEM SEPARATOR
        !            20:         MENUITEM "&Print...",           IDM_PRINT,      GRAYED
        !            21:         MENUITEM "P&rint Setup...",     IDM_PRINTSET,   GRAYED
        !            22:         MENUITEM SEPARATOR
        !            23:         MENUITEM "E&xit",               IDM_EXIT
        !            24:     END
        !            25: 
        !            26:     POPUP "&Edit"
        !            27:     BEGIN
        !            28:         MENUITEM "&Undo",               IDM_UNDO,       GRAYED
        !            29:         MENUITEM SEPARATOR
        !            30:         MENUITEM "Cu&t",                IDM_CUT,        GRAYED
        !            31:         MENUITEM "&Copy",               IDM_COPY,       GRAYED
        !            32:         MENUITEM "&Paste",              IDM_PASTE,      GRAYED
        !            33:         MENUITEM "&Delete",             IDM_DELETE,      GRAYED
        !            34:         MENUITEM SEPARATOR
        !            35:         MENUITEM "&Find..."             IDM_FIND,       GRAYED
        !            36:         MENUITEM "&Replace..."          IDM_REPLACE,    GRAYED
        !            37:     END
        !            38: 
        !            39:     POPUP "&View"
        !            40:     BEGIN
        !            41:         MENUITEM "Character Set"        IDM_CHARSET
        !            42:         MENUITEM "Glyph Metrics"        IDM_GLYPH
        !            43:         MENUITEM SEPARATOR
        !            44:         MENUITEM "&ToolBar"             IDM_TOOLBAR,    GRAYED
        !            45:         MENUITEM "&Status"              IDM_STATUSBAR,  GRAYED
        !            46:     END
        !            47: 
        !            48:     POPUP "&Metrics"
        !            49:     BEGIN
        !            50:         MENUITEM "&CreateFont...", IDM_CREATEFONT
        !            51:         MENUITEM "&TextMetrics...", IDM_TEXTMETRIC
        !            52:         MENUITEM "&EnumFonts...", IDM_ENUMFONTS
        !            53:         MENUITEM "&OutlineTextMetrics...", IDM_OUTLINEMETRICS, GRAYED
        !            54:     END
        !            55: 
        !            56: 
        !            57:     POPUP "&Help"
        !            58:     BEGIN
        !            59:         MENUITEM "&Contents",       IDM_HELP_CONTENTS
        !            60:         MENUITEM "&Index",          IDM_HELP_INDEX
        !            61:         MENUITEM "&Overview",       IDM_HELP_OVERVIEW
        !            62:         MENUITEM "&Glossary",       IDM_HELP_GLOSSARY
        !            63:         MENUITEM "&Tutorial",       IDM_HELP_TUTORIAL
        !            64:         MENUITEM "&Demo",           IDM_HELP_DEMO
        !            65:         MENUITEM "&Help On Help",   IDM_HELP_HELP
        !            66:         MENUITEM SEPARATOR
        !            67:         MENUITEM "&About...\tAlt+?",    IDM_ABOUT
        !            68:     END
1.1       root       69: END
                     70: 
                     71: 
                     72: 
                     73: FontView ACCELERATORS
                     74: BEGIN
1.1.1.2 ! root       75:     "?", IDM_ABOUT, ALT
        !            76:     "/", IDM_ABOUT, ALT
1.1       root       77: END
                     78: 
                     79: STRINGTABLE
                     80: BEGIN
1.1.1.2 ! root       81:     IDM_SYSMENU "Move, size or close application window"
        !            82:     IDM_FILE    "Create, open, save or print files"
        !            83:     IDM_NEW     "Create a new file"
        !            84:     IDM_OPEN    "Open and existing file"
        !            85:     IDM_CLOSE   "Close the active file/window"
        !            86:     IDM_SAVE    "Save the active file"
        !            87:     IDM_SAVEAS  "Save the active file with a new name"
        !            88:     IDM_PRINT   "Print contents of active window"
        !            89:     IDM_PRINTSET "Select desired printer configuration"
        !            90:     IDM_EXIT    "Exit this application"
        !            91: 
        !            92:     IDM_EDIT    "Undo, cut, copy, paste, clear"
        !            93:     IDM_UNDO    "Undo the last edit operation"
        !            94:     IDM_CUT     "Move the selected object to the clipboard"
        !            95:     IDM_COPY    "Copy the selected object to the clipbpard"
        !            96:     IDM_PASTE   "Paste the contents of the clipboard into the current location"
        !            97:     IDM_DELETE  "Delete the selected object without altering the clipboard"
        !            98:     IDM_FIND    "Search for text pattern"
        !            99:     IDM_REPLACE "Search for and replace text pattern"
        !           100: 
        !           101:     IDM_VIEW        "Control View, ToolBar and Status Bar"
        !           102:     IDM_CHARSET     "View Entire Character Set"
        !           103:     IDM_GLYPH       "View A Single Character"
        !           104:     IDM_TOOLBAR     "Toggle visibility of toolbar"
        !           105:     IDM_STATUSBAR   "Toggle visibility of statusbar"
        !           106: 
        !           107:     IDM_DIALOG         "Display specific information about the current font"
        !           108: 
        !           109:     IDM_CREATEFONT     "The currently used parameters for 'CreateFont'"
        !           110:     IDM_TEXTMETRIC     "The TEXTMETRICS values for the current font"
        !           111:     IDM_ENUMFONTS      "Enumerate all available fonts on the system"
        !           112:     IDM_OUTLINEMETRICS "The OUTLINETEXTMETRICS for the current font (if TrueType)"
        !           113: 
        !           114:     IDM_HELP    "Get help on using FontView"
        !           115: 
        !           116:     IDM_HELP_CONTENTS "Open the Help table of contents for FontView"
        !           117:     IDM_HELP_INDEX    "Open the Help index for FontView"
        !           118:     IDM_HELP_OVERVIEW "Open the Help overview for FontView"
        !           119:     IDM_HELP_GLOSSARY "Open the Help Glossary for FontView"
        !           120:     IDM_HELP_TUTORIAL "Open the Help tutorial for FontView"
        !           121:     IDM_HELP_DEMO     "Open the Help demo for FontView"
        !           122:     IDM_HELP_HELP     "Get Help on how to use Help"
        !           123:     IDM_ABOUT         "And now, a message from your sponser..."
        !           124: 
        !           125:     ID_TOOLBAR  "This is the toolbar"
        !           126:     ID_CREATEPARAM  "Select 'CreateFont' Parameter to set"
        !           127:     ID_CREATEVALUE  "Select desired value for 'CreateFont' Parameter"
        !           128:     ID_ZOOM                    "Switch from 'Glyph' to 'CharSet' mode"
        !           129: 
        !           130:     ID_STATUSBAR    "This is the status bar"
        !           131:     ID_MENUFIELD    "This field displays various informational text, like this one"
        !           132:     ID_TIMEFIELD    "This is the current time"
1.1       root      133: 
                    134: // Not all of these will actually be used:
1.1.1.2 ! root      135:     SC_SIZE         "Change window size"
        !           136:     SC_MOVE         "Change window position"
        !           137:     SC_MINIMIZE     "Reduce window to icon"
        !           138:     SC_MAXIMIZE     "Enlage window to full size"
        !           139:     SC_NEXTWINDOW   "[Switch to next window]"
        !           140:     SC_PREVWINDOW   "[Switch to previous window]"
        !           141:     SC_CLOSE        "Close window and quit application"
        !           142:     SC_VSCROLL      "[Scroll window vertically]"
        !           143:     SC_HSCROLL      "[Scroll window horizontally]"
        !           144:     SC_MOUSEMENU    "[Mouse was used to select menu item]"
        !           145:     SC_KEYMENU      "[Keyboard was used to select menu item]"
        !           146:     SC_ARRANGE      "[Arrange window]"
        !           147:     SC_RESTORE      "Restore window to normal size"
        !           148:     SC_TASKLIST     "Activate Task List"
        !           149: 
        !           150:     1001                       "Just a simple combobox"
1.1       root      151: END

unix.superglobalmegacorp.com

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