--- mstools/samples/registry/monkey.rc 2018/08/09 18:21:38 1.1.1.1 +++ mstools/samples/registry/monkey.rc 2018/08/09 18:23:41 1.1.1.2 @@ -1,3 +1,15 @@ + +//----------------------------------------------------------------------------- +// 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. +//----------------------------------------------------------------------------- + #include #include "monkey.h" @@ -15,18 +27,15 @@ BEGIN EDITTEXT IDE_ACL, 5, 80, 125, 12, ES_AUTOHSCROLL LTEXT "Value: Data Type", -1, 5, 175, 65, 8 LTEXT "Value: Data Entry", -1, 5, 198, 65, 8 - EDITTEXT IDE_VALUE1, 5, 185, 336, 12, ES_AUTOHSCROLL - EDITTEXT IDE_VALUE2, 5, 208, 336, 12, ES_AUTOHSCROLL + EDITTEXT IDE_VALUE1, 5, 185, 336, 12, ES_AUTOHSCROLL|ES_READONLY + EDITTEXT IDE_VALUE2, 5, 208, 336, 12, ES_AUTOHSCROLL|ES_READONLY LISTBOX IDL_LISTBOX, 135, 19, 100, 150, WS_VSCROLL | WS_TABSTOP LISTBOX IDL_LISTBOX2, 240, 19, 100, 150, WS_VSCROLL | WS_TABSTOP LTEXT "CHILD KEYS:", -1, 162, 165, 45, 8 LTEXT "VALUES:", -1, 265, 165, 30, 8 - PUSHBUTTON "Print Branch", IDB_PRINT, 6, 137, 52, 14 PUSHBUTTON "Next/Down", IDB_NEXT, 79, 137, 51, 14 PUSHBUTTON "Back/Up", IDB_BACK, 79, 118, 51, 14 EDITTEXT IDE_CVALUES, 296, 165, 31, 12, ES_AUTOHSCROLL | NOT WS_BORDER - AUTORADIOBUTTON "Full ", IDR_FULL, 9, 111, 46, 10 - AUTORADIOBUTTON "Trimmed ", IDR_TRIMMED, 9, 122, 48, 10 - GROUPBOX "Branches:", 118, 6, 100, 53, 33 + EDITTEXT IDE_TEXTOUT, 5, 3, 341, 12, ES_READONLY | NOT WS_BORDER END