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.
228 lines
7.7 KiB
228 lines
7.7 KiB
//+----------------------------------------------------------------------------
|
|
//
|
|
// File: cmmon.rc
|
|
//
|
|
// Module: CMMON32.EXE
|
|
//
|
|
// Synopsis: Resource script for cmmon32.exe
|
|
//
|
|
// Copyright (c) 1998-1999 Microsoft Corporation
|
|
//
|
|
// Author: quintinb Created Header 08/16/99
|
|
//
|
|
//+----------------------------------------------------------------------------
|
|
|
|
//Microsoft Developer Studio generated resource script.
|
|
//
|
|
//
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
#include "pnpuverp.h"
|
|
#include "cmprdver.h"
|
|
|
|
#define VER_FILETYPE VFT_DLL
|
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
|
#define VER_FILEDESCRIPTION_STR "Microsoft Connection Manager Monitor"
|
|
#define VER_INTERNALNAME_STR "CMMON32"
|
|
#define VER_ORIGINALFILENAME_STR "CMMON32.exe"
|
|
|
|
#include <common.ver>
|
|
#endif // not APSTUDIO_INVOKED
|
|
|
|
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#include <windows.h>
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// English (U.S.) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
#pragma code_page(1252)
|
|
#endif //_WIN32
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_CONNSTAT DIALOGEX 0, 0, 202, 86
|
|
STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
EXSTYLE WS_EX_CONTEXTHELP | WS_EX_APPWINDOW
|
|
CAPTION "Connected"
|
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
|
BEGIN
|
|
ICON IDI_APP,IDC_CONNSTAT_ICON,8,8,20,20
|
|
LTEXT "Call duration:",IDC_CONNSTAT_STATIC_CALL_DURATION,45,10,
|
|
54,8
|
|
LTEXT "",IDC_CONNSTAT_DURATION_DISPLAY,103,10,54,8
|
|
LTEXT "Connect speed:",IDC_CONNSTAT_STATIC_CONNECT_SPEED,45,20,
|
|
54,8
|
|
LTEXT "",IDC_CONNSTAT_SPEED_DISPLAY,103,20,54,8
|
|
LTEXT "Bytes received:",IDC_CONNSTAT_STATIC_BYTES_RECEIVED,45,
|
|
30,54,8
|
|
LTEXT "",IDC_CONNSTAT_RECEIVED_DISPLAY,103,30,87,8
|
|
LTEXT "Bytes sent:",IDC_CONNSTAT_STATIC_BYTES_SENT,45,40,54,8
|
|
LTEXT "",IDC_CONNSTAT_SENT_DISPLAY,103,40,87,8
|
|
CTEXT "",IDC_CONNSTAT_DISCONNECT_DISPLAY,8,50,194,8
|
|
DEFPUSHBUTTON "OK",IDOK,45,64,56,14
|
|
PUSHBUTTON "&Disconnect",IDC_DISCONNECT,106,64,58,14
|
|
LTEXT "\nYou are about to be disconnected. Press the ""Stay Online"" button to remain connected.",
|
|
IDC_AUTODISC,45,19,152,30,NOT WS_VISIBLE
|
|
END
|
|
|
|
IDD_CONNSTATNT4 DIALOGEX 0, 0, 202, 66
|
|
STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
EXSTYLE WS_EX_CONTEXTHELP | WS_EX_APPWINDOW
|
|
CAPTION "Connected"
|
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
|
BEGIN
|
|
ICON IDI_APP,IDC_CONNSTAT_ICON,8,8,20,20
|
|
LTEXT "Connection Time:",IDC_CONNSTAT_STATIC_CALL_DURATION,45,
|
|
10,56,8
|
|
LTEXT "",IDC_CONNSTAT_DURATION_DISPLAY,105,10,54,8
|
|
CTEXT "",IDC_CONNSTAT_DISCONNECT_DISPLAY,8,36,194,8
|
|
DEFPUSHBUTTON "OK",IDOK,8,47,50,14
|
|
PUSHBUTTON "&Disconnect",IDC_DISCONNECT,71,47,60,14
|
|
PUSHBUTTON "D&etails ...",IDC_DETAILS,144,47,50,14
|
|
LTEXT "You are about to be disconnected. Press the ""Stay Online"" button to remain connected.",
|
|
IDC_AUTODISC,46,19,152,18
|
|
LTEXT "For more information about your connection, press the ""Details"" button.",
|
|
IDC_DETAILINFO,45,19,152,18
|
|
END
|
|
|
|
IDD_RECONNECT DIALOGEX 0, 0, 186, 56
|
|
STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_CENTER | WS_POPUP | WS_VISIBLE |
|
|
WS_CAPTION
|
|
EXSTYLE WS_EX_APPWINDOW
|
|
CAPTION "Reconnect"
|
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
|
BEGIN
|
|
DEFPUSHBUTTON "&Yes",IDOK,33,34,50,14
|
|
PUSHBUTTON "&No",IDCANCEL,103,34,50,14
|
|
LTEXT "",IDC_RECONNECT_MSG,35,5,142,26
|
|
ICON IDI_APP,IDC_CONNSTAT_ICON,6,6,21,20
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Menu
|
|
//
|
|
|
|
IDM_TRAY MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP "Tray"
|
|
BEGIN
|
|
MENUITEM "&Status...", IDMC_TRAY_STATUS
|
|
MENUITEM "&Disconnect", IDC_DISCONNECT
|
|
END
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDI_APP ICON DISCARDABLE "..\cmdial\cm.ico"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|
BEGIN
|
|
IDD_RECONNECT, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 179
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 50
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDMSG_CONNSPEED "%s bps"
|
|
IDMSG_CONNDUR "%02u:%02u:%02u"
|
|
IDS_REG_DIALUP_ADAPTER "Dial-up Adapter"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDMSG_CONNCNT "%s"
|
|
IDMSG_CONNCNTRATE "%s (%s cps)"
|
|
IDMSG_CONNDISCONNECT "%u seconds until disconnect."
|
|
IDMSG_CONNDISC_STAYONLINE "Stay Online"
|
|
IDMSG_CONNDISC_DISCNOW "Disconnect Now"
|
|
IDMSG_CONNDISC_OK "OK"
|
|
IDMSG_CONNDISC_DISCONNECT "Disconnect"
|
|
IDMSG_DUR_START "Connected for %u seconds."
|
|
IDMSG_DUR_START2 "Connected for %u second."
|
|
IDMSG_DUR_START3 "Connected for %u seconds."
|
|
IDMSG_DUR_START4 "Connected for %u minute."
|
|
IDMSG_DUR_START5 "Connected for %u minute, %u second."
|
|
IDMSG_DUR_START6 "Connected for %u minute, %u seconds."
|
|
IDMSG_DUR_START7 "Connected for %u minutes."
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDMSG_DUR_START8 "Connected for %u minutes, %u second."
|
|
IDMSG_DUR_START9 "Connected for %u minutes, %u seconds."
|
|
IDMSG_DUR_START10 "Connected for %u hour."
|
|
IDMSG_DUR_START11 "Connected for %u hour, %u second."
|
|
IDMSG_DUR_START12 "Connected for %u hour, %u seconds."
|
|
IDMSG_DUR_START13 "Connected for %u hour, %u minute."
|
|
IDMSG_DUR_START14 "Connected for %u hour, %u minute, %u second."
|
|
IDMSG_DUR_START15 "Connected for %u hour, %u minute, %u seconds."
|
|
IDMSG_DUR_START16 "Connected for %u hour, %u minutes."
|
|
IDMSG_DUR_START17 "Connected for %u hour, %u minutes, %u second."
|
|
IDMSG_DUR_START18 "Connected for %u hour, %u minutes, %u seconds."
|
|
IDMSG_DUR_START19 "Connected for %u hours."
|
|
IDMSG_DUR_START20 "Connected for %u hours, %u second."
|
|
IDMSG_DUR_START21 "Connected for %u hours, %u seconds."
|
|
IDMSG_DUR_START22 "Connected for %u hours, %u minute."
|
|
IDMSG_DUR_START23 "Connected for %u hours, %u minute, %u second."
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDMSG_DUR_START24 "Connected for %u hours, %u minute, %u seconds."
|
|
IDMSG_DUR_START25 "Connected for %u hours, %u minutes."
|
|
IDMSG_DUR_START26 "Connected for %u hours, %u minutes, %u second."
|
|
IDMSG_DUR_START27 "Connected for %u hours, %u minutes, %u seconds."
|
|
IDMSG_RECONNECT "Connection to %s was terminated. Do you want to reconnect?"
|
|
END
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|