home *** CD-ROM | disk | FTP | other *** search
- // Contents ---------------------------------------------------------------
- //
- // ntime.dlg -- Dialog Boxes for Network Time client
- //
- // Version 1.0.1, a Windows Socket Time Client
- //
- // Copyright (C) Frederick W. Bent 1994
- // All rights reserved.
- //
- //
- // Redistribution and use in source and binary forms are permitted provided
- // that the above copyright notice and this paragraph are duplicated in all
- // such forms and that any documentation, advertising materials, and other
- // materials related to such distribution and use acknowledge that the
- // software was developed by Frederick W. Bent. In addition, if you wish
- // to distribute this program in source and/or binary forms with other
- // samples of WinSock programs, you must first contact the author so that
- // I can keep accurate records of its usage. The name of the author may
- // not be used to endorse or promote products derived from this software
- // without specific prior written permission. Specifically, do not modify
- // this source in any way and re-distribute it without the author's prior
- // consent. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OF
- // IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES
- // OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- //
- //
- // Ends -------------------------------------------------------------------
-
- DLGINCLUDE RCDATA DISCARDABLE
- BEGIN
- "NTIME.H\0"
- END
-
- HOSTBOX DIALOG 38, 20, 163, 145
- STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
- CAPTION "Setup Time Client"
- FONT 8, "Helv"
- BEGIN
- EDITTEXT IDC_HOSTNAME, 12, 20, 140, 13, ES_AUTOHSCROLL | WS_GROUP
- EDITTEXT IDC_USER, 12, 48, 140, 13, ES_AUTOHSCROLL
- EDITTEXT IDC_UDPRETRY, 12, 76, 8, 13
- EDITTEXT IDC_UDPTIME, 86, 76, 22, 13
- CHECKBOX "Use &TCP protocol connection", IDC_USETCP, 12, 95, 140, 13, BS_AUTOCHECKBOX | WS_TABSTOP
- CHECKBOX "&Modify your system's date && time", IDC_UPDATE, 12, 108, 140, 13, BS_AUTOCHECKBOX | WS_TABSTOP
- DEFPUSHBUTTON "OK", IDOK, 11, 125, 40, 14, WS_TABSTOP
- PUSHBUTTON "O&pen", IDB_CONNECT, 62, 125, 40, 14, WS_TABSTOP
- PUSHBUTTON "Cancel", IDCANCEL, 113, 125, 40, 14, WS_TABSTOP
- LTEXT "Enter time correction in seconds (optional)", -1, 12, 38, 140, 8
- LTEXT "Enter a host name or Internet address", -1, 12, 10, 140, 8
- LTEXT "UDP retry count", IDT_UDP1, 12, 66, 66, 8
- LTEXT "UDP timeout (sec.)", IDT_UDP2, 86, 66, 66, 8
- END
-
- ABOUTBOX DIALOG 30, 60, 200, 60
- STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
- CAPTION "About Time Client"
- FONT 8, "Helv"
- BEGIN
- DEFPUSHBUTTON "OK", IDOK, 80, 42, 40, 14, WS_GROUP
- ICON "NTimeIcon", -1, 10, 10, 18, 20
- CONTROL "", -1, "Static", SS_BLACKRECT, 9, 9, 20, 21
- CTEXT "Windows Sockets Time Client Version 1.0.1", -1, 30, 10, 171, 10
- CTEXT "Copyright ⌐ 1994 by Frederick W. Bent", -1, 30, 20, 171, 10
- CTEXT "All rights reserved.", -1, 30, 30, 171, 10
- END
-
-
-