|
|
1.1 ! 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: ! 13: #include "windows.h" ! 14: #include "client32.h" ! 15: ! 16: ClientDialog DIALOG 10, 20, 174, 155 ! 17: STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | ! 18: WS_SYSMENU | WS_MINIMIZEBOX ! 19: CAPTION "Client Window" ! 20: FONT 8, "Helv" ! 21: BEGIN ! 22: DEFPUSHBUTTON "Send", IDB_SEND, 2, 140, 40, 14 ! 23: EDITTEXT IDD_EDITWRITE, 2, 113, 171, 26, ES_MULTILINE | ! 24: ES_AUTOVSCROLL ! 25: EDITTEXT IDD_EDITREAD, 2, 2, 171, 110, ES_MULTILINE | ! 26: ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL ! 27: END ! 28: ! 29: ! 30: InitDialog DIALOG 6, 18, 160, 79 ! 31: STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU ! 32: CAPTION "Client Initiation" ! 33: FONT 8, "Helv" ! 34: BEGIN ! 35: EDITTEXT IDD_SVREDIT, 4, 14, 154, 12, ES_AUTOHSCROLL ! 36: LTEXT "Enter Server Name (use '.' if local).", ! 37: 65535, 5, 4, 135, 8 ! 38: LTEXT "Enter Your Client Name.", 65535, 5, 36, 136, 8 ! 39: EDITTEXT IDD_CLNTEDIT, 4, 46, 154, 12, ES_AUTOHSCROLL ! 40: DEFPUSHBUTTON "OK", IDB_INITOK, 61, 63, 40, 14 ! 41: END
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.