mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
115 lines
3.4 KiB
115 lines
3.4 KiB
#include "windows.h"
|
|
#include "watchit.h"
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Menu
|
|
//
|
|
|
|
IDM_MENU MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP "&File"
|
|
BEGIN
|
|
MENUITEM "E&xit", IDM_EXIT
|
|
END
|
|
POPUP "&Help"
|
|
BEGIN
|
|
// MENUITEM "&Help Topics", IDM_HELP_CONTENTS
|
|
// MENUITEM "&What's This?", IDM_HELP_WHATSTHIS
|
|
// MENUITEM SEPARATOR
|
|
MENUITEM "&About the TAPI Heartbeat Monitor", IDM_ABOUT
|
|
END
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_MAIN_WATCHIT DIALOG PRELOAD DISCARDABLE 50, 50, 164, 70
|
|
STYLE DS_3DLOOK | WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU | WS_SIZEBOX
|
|
CAPTION "TAPI Heartbeat Monitor"
|
|
MENU IDM_MENU
|
|
CLASS "WATCHIT_Class"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CONTROL "",778,"Static",SS_ETCHEDHORZ |
|
|
WS_DISABLED,0,0,500,1
|
|
|
|
LTEXT "Number of clients:",-1,2,32,120,10,SS_NOPREFIX | NOT WS_GROUP
|
|
LTEXT "",IDC_NUMCLIENTSTEXT,122,32,30,10,SS_NOPREFIX | NOT WS_GROUP
|
|
|
|
LTEXT "Number of active outgoing calls:",-1,2,42,120,10,SS_NOPREFIX | NOT WS_GROUP
|
|
LTEXT "",IDC_NUMOUTCALLSTEXT,122,42,30,10,SS_NOPREFIX | NOT WS_GROUP
|
|
|
|
LTEXT "Number of active incoming calls:",-1,2,52,120,10,SS_NOPREFIX | NOT WS_GROUP
|
|
LTEXT "",IDC_NUMINCALLSTEXT,122,52,30,10,SS_NOPREFIX | NOT WS_GROUP
|
|
|
|
END
|
|
|
|
|
|
// IDD_ABOUT DIALOG DISCARDABLE 22, 38, 227, 100
|
|
// STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
// CAPTION "About the TAPI Heartbeat Monitor"
|
|
// FONT 8, "MS Shell Dlg"
|
|
// BEGIN
|
|
// // ICON IDI_MAIN,10,5,18,20
|
|
// LTEXT "",IDD_ATEXTTITLE,38,5,127,10,SS_NOPREFIX | NOT WS_GROUP
|
|
// LTEXT "Copyright © 1996 Microsoft Corp. All Rights Reserved.",
|
|
// IDD_ATEXTCOPYRIGHT,38,35,179,20,SS_NOPREFIX | NOT
|
|
// WS_GROUP
|
|
// // LTEXT "",-1,38,60,172,1,NOT WS_GROUP
|
|
// // LTEXT "Memory:",-1,38,75,70,10,SS_NOPREFIX | NOT WS_GROUP
|
|
// // LTEXT "%lu KB Free",IDD_ATEXTFREEMEM,120,75,74,10,SS_NOPREFIX |
|
|
// // NOT WS_GROUP
|
|
// DEFPUSHBUTTON "OK",IDOK,177,5,40,14
|
|
// // LTEXT "System resources:",-1,38,85,70,10,SS_NOPREFIX | NOT
|
|
// // WS_GROUP
|
|
// // LTEXT "%d%%",IDD_ATEXTRESOURCE,120,85,74,10,SS_NOPREFIX | NOT
|
|
// // WS_GROUP
|
|
// END
|
|
|
|
|
|
|
|
#if WINNT
|
|
#include <ntverp.h>
|
|
#else
|
|
#include <version.h>
|
|
#endif
|
|
|
|
#define VER_FILEDESCRIPTION_STR "TAPI Heartbeat monitor"
|
|
#define VER_INTERNALNAME_STR "TapiHart"
|
|
#define VER_ORIGINALFILENAME_STR "tapihart.EXE"
|
|
#define VER_LEGALCOPYRIGHT_YEARS "1996"
|
|
|
|
#define VER_FILETYPE VFT_DLL
|
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
|
|
|
#include <common.ver>
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
//IDI_MAIN ICON DISCARDABLE "MAIN.ICO"
|
|
IDI_LARGE ICON DISCARDABLE "LARGE.ICO"
|
|
IDI_SMALL ICON DISCARDABLE "SMALL.ICO"
|
|
IDI_DEADTAPISRV ICON DISCARDABLE "dead.ICO"
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
WATCHIT_STRING_APPNAME "WATCHIT"
|
|
WATCHIT_STRING_FRIENDLYNAME "Microsoft TAPI Heartbeat Monitor"
|
|
END
|
|
|