--- mstools/samples/memory/memory.rc 2018/08/09 18:21:21 1.1 +++ mstools/samples/memory/memory.rc 2018/08/09 18:23:17 1.1.1.2 @@ -1,13 +1,15 @@ -/****************************** Module Header ******************************\ -* Module Name: res.rc -* -* Copyright (c) 1991, Microsoft Corporation -* -* Resources -* -* History: -* 04-07-91 Petrus Wong Created. -\***************************************************************************/ + +//----------------------------------------------------------------------------- +// This is a part of the Microsoft Source Code Samples. +// Copyright (C) 1993 Microsoft Corporation. +// All rights reserved. +// +// This source code is only intended as a supplement to +// Microsoft Development Tools and/or WinHelp documentation. +// See these sources for detailed information regarding the +// Microsoft samples programs. +//----------------------------------------------------------------------------- + #define OEMRESOURCE @@ -18,17 +20,17 @@ MainMenu MENU BEGIN POPUP "&Create" BEGIN - MENUITEM "&Server", MM_SERVER - MENUITEM "&Client", MM_CLIENT + MENUITEM "&Server", MM_SERVER + MENUITEM "&Client", MM_CLIENT MENUITEM SEPARATOR - MENUITEM "&About ...", MM_ABOUT + MENUITEM "&About ...", MM_ABOUT END POPUP "&Window" BEGIN - MENUITEM "&Cascade", IDM_CASCADE - MENUITEM "&Tile", IDM_TILE - MENUITEM "Arrange &Icons", IDM_ARRANGE + MENUITEM "&Cascade", IDM_CASCADE + MENUITEM "&Tile", IDM_TILE + MENUITEM "Arrange &Icons", IDM_ARRANGE END END @@ -37,26 +39,26 @@ ServerMenu MENU BEGIN POPUP "&Create" BEGIN - MENUITEM "&Server", MM_SERVER, GRAYED - MENUITEM "&Client", MM_CLIENT, GRAYED - MENUITEM SEPARATOR - MENUITEM "&About ...", MM_ABOUT + MENUITEM "&Server", MM_SERVER, GRAYED + MENUITEM "&Client", MM_CLIENT, GRAYED + MENUITEM SEPARATOR + MENUITEM "&About ...", MM_ABOUT END POPUP "Server" BEGIN - MENUITEM "Create File...", MM_OPT_1 - MENUITEM "Create File Mapping...",MM_OPT_2 //, GRAYED - MENUITEM "Map View of File", MM_OPT_3 //, GRAYED - MENUITEM SEPARATOR - MENUITEM "Access", MM_OPT_4 //, GRAYED + MENUITEM "Create File...", MM_OPT_1 + MENUITEM "Create File Mapping...",MM_OPT_2 //, GRAYED + MENUITEM "Map View of File", MM_OPT_3 //, GRAYED + MENUITEM SEPARATOR + MENUITEM "Access", MM_OPT_4 //, GRAYED END POPUP "&Window" BEGIN - MENUITEM "&Cascade", IDM_CASCADE - MENUITEM "&Tile", IDM_TILE - MENUITEM "Arrange &Icons", IDM_ARRANGE + MENUITEM "&Cascade", IDM_CASCADE + MENUITEM "&Tile", IDM_TILE + MENUITEM "Arrange &Icons", IDM_ARRANGE END END @@ -64,26 +66,26 @@ ClientMenu MENU BEGIN POPUP "&Create" BEGIN - MENUITEM "&Server", MM_SERVER, GRAYED - MENUITEM "&Client", MM_CLIENT, GRAYED - MENUITEM SEPARATOR - MENUITEM "&About ...", MM_ABOUT + MENUITEM "&Server", MM_SERVER, GRAYED + MENUITEM "&Client", MM_CLIENT, GRAYED + MENUITEM SEPARATOR + MENUITEM "&About ...", MM_ABOUT END POPUP "Client" BEGIN - MENUITEM "Open File Mapping...", MM_OPT_5 - MENUITEM "Map View of File", MM_OPT_6 //, GRAYED - MENUITEM SEPARATOR - MENUITEM "Access", MM_OPT_7 //, GRAYED - MENUITEM "Refresh Now", MM_OPT_8, GRAYED + MENUITEM "Open File Mapping...", MM_OPT_5 + MENUITEM "Map View of File", MM_OPT_6 //, GRAYED + MENUITEM SEPARATOR + MENUITEM "Access", MM_OPT_7 //, GRAYED + MENUITEM "Refresh Now", MM_OPT_8, GRAYED END POPUP "&Window" BEGIN - MENUITEM "&Cascade", IDM_CASCADE - MENUITEM "&Tile", IDM_TILE - MENUITEM "Arrange &Icons", IDM_ARRANGE + MENUITEM "&Cascade", IDM_CASCADE + MENUITEM "&Tile", IDM_TILE + MENUITEM "Arrange &Icons", IDM_ARRANGE END END @@ -93,7 +95,7 @@ STYLE DS_MODALFRAME | WS_CAPTION | WS_VI CAPTION "About Memory" BEGIN CTEXT "Microsoft Windows" -1, 0, 8, 192, 8 - CTEXT "Memory" -1, 0, 24, 192, 8 + CTEXT "Memory" -1, 0, 24, 192, 8 CTEXT "Version 0.01" -1, 0, 40, 192, 8 DEFPUSHBUTTON "OK!", IDOK, 71, 60, 50, 14 END