Annotation of q_a/samples/mdi/mdi.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 "mdi.h"
                     16: 
                     17: MainMenu MENU
                     18: BEGIN
                     19:     POPUP  "&Create"
                     20:     BEGIN
1.1.1.2 ! root       21:         MENUITEM  "&MDI Child\t F10",      MM_MDI
1.1       root       22:         MENUITEM  SEPARATOR
1.1.1.2 ! root       23:         MENUITEM  "&About ...",    MM_ABOUT
1.1       root       24:     END
                     25: 
                     26:     POPUP "&Window"
                     27:     BEGIN
1.1.1.2 ! root       28:         MENUITEM  "&Cascade",       IDM_CASCADE
        !            29:         MENUITEM  "&Tile",          IDM_TILE
        !            30:         MENUITEM  "Arrange &Icons", IDM_ARRANGE
1.1       root       31:     END
                     32: END
                     33: 
                     34: 
                     35: ChildMenu MENU
                     36: BEGIN
                     37:     POPUP  "&Create"
                     38:     BEGIN
1.1.1.2 ! root       39:       MENUITEM  "&MDI Child\t F10",        MM_MDI
        !            40:       MENUITEM  SEPARATOR
        !            41:       MENUITEM  "&About ...",      MM_ABOUT
1.1       root       42:     END
                     43: 
                     44:     POPUP  "&Option"
                     45:     BEGIN
1.1.1.2 ! root       46:         MENUITEM  "One\t F1",      MM_OPT_1
        !            47:         MENUITEM  "Two\t F2",      MM_OPT_2
        !            48:         MENUITEM  "Three\t F3",    MM_OPT_3
        !            49:         MENUITEM  "Four\t F4",     MM_OPT_4
1.1       root       50:     END
                     51: 
                     52:     POPUP "&Window"
                     53:     BEGIN
1.1.1.2 ! root       54:         MENUITEM  "&Cascade",       IDM_CASCADE
        !            55:         MENUITEM  "&Tile",          IDM_TILE
        !            56:         MENUITEM  "Arrange &Icons", IDM_ARRANGE
1.1       root       57:     END
                     58: END
                     59: 
                     60: AboutBox DIALOG 16, 16, 192, 96
                     61: STYLE DS_MODALFRAME | WS_CAPTION | WS_VISIBLE
                     62: CAPTION "About"
                     63: BEGIN
                     64:     CTEXT "Microsoft Windows"     -1,       0,  8, 192,  8
1.1.1.2 ! root       65:     CTEXT "MDI Demo"              -1,       0, 24, 192,  8
1.1       root       66:     CTEXT "Version 1.00"          -1,       0, 40, 192,  8
                     67:     DEFPUSHBUTTON "OK!",    IDOK,          71, 60,  50, 14
                     68: END
                     69: 
                     70: ACCEL_ID ACCELERATORS
                     71: BEGIN
                     72:     VK_F10, MM_MDI,   VIRTKEY
                     73:     VK_F1,  MM_OPT_1, VIRTKEY
                     74:     VK_F2,  MM_OPT_2, VIRTKEY
                     75:     VK_F3,  MM_OPT_3, VIRTKEY
                     76:     VK_F4,  MM_OPT_4, VIRTKEY
                     77: END

unix.superglobalmegacorp.com

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