203 lines
5.6 KiB
Plaintext
203 lines
5.6 KiB
Plaintext
//Microsoft Developer Studio generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#define APSTUDIO_HIDDEN_SYMBOLS
|
|
#include "windows.h"
|
|
#undef APSTUDIO_HIDDEN_SYMBOLS
|
|
#include "resource.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
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDI_ICSTEST ICON DISCARDABLE "ICSTEST.ICO"
|
|
IDI_SMALL ICON DISCARDABLE "SMALL.ICO"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Menu
|
|
//
|
|
|
|
IDC_ICSTEST MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP "&File"
|
|
BEGIN
|
|
MENUITEM "&Close Port", ID_FILE_CLOSEPORT
|
|
MENUITEM "Close &All Ports", ID_FILE_CLOSEALLPORTS
|
|
MENUITEM "&Open Port", IDM_OPEN
|
|
MENUITEM "Refresh [F5]", ID_FILE_REFRESH
|
|
MENUITEM "E&xit", IDM_EXIT
|
|
END
|
|
POPUP "&Help"
|
|
BEGIN
|
|
MENUITEM "&About ...", IDM_ABOUT
|
|
END
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Accelerator
|
|
//
|
|
|
|
IDC_ICSTEST ACCELERATORS MOVEABLE PURE
|
|
BEGIN
|
|
"/", IDM_ABOUT, ASCII, ALT, NOINVERT
|
|
"?", IDM_ABOUT, ASCII, ALT, NOINVERT
|
|
VK_F5, ID_FILE_REFRESH, VIRTKEY, NOINVERT
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_ABOUTBOX DIALOG DISCARDABLE 22, 17, 185, 55
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "About ICStest"
|
|
FONT 8, "System"
|
|
BEGIN
|
|
ICON IDI_ICSTEST,IDC_MYICON,14,9,20,20
|
|
LTEXT "ICSTEST Version 1.0",IDC_STATIC,49,10,81,8,SS_NOPREFIX
|
|
LTEXT "Copyright (C) 2000 by Microsoft Corp.",IDC_STATIC,48,24,
|
|
137,8
|
|
DEFPUSHBUTTON "OK",IDOK,139,7,30,11,WS_GROUP
|
|
END
|
|
|
|
IDD_MAIN DIALOGEX 0, 0, 247, 157
|
|
STYLE WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "ICS Status"
|
|
CLASS "ICSTest"
|
|
FONT 8, "System"
|
|
BEGIN
|
|
ICON IDI_ICSTEST,IDC_MYICON,220,63,20,20,SS_NOTIFY |
|
|
SS_SUNKEN,WS_EX_TRANSPARENT
|
|
GROUPBOX "ICS Status",IDC_STATIC,7,82,232,68,0,WS_EX_TRANSPARENT
|
|
LTEXT "Address list",IDC_STATIC,7,20,66,12
|
|
LTEXT "undefined",IDC_ADDRLIST,20,30,219,27,SS_CENTERIMAGE |
|
|
SS_SUNKEN
|
|
LTEXT "Status:",IDC_STATIC,13,93,31,9
|
|
LTEXT "Using:",IDC_STATIC,32,105,38,8,0,WS_EX_TRANSPARENT
|
|
LTEXT "internal",IDC_ICS_DLL_NAME,72,105,143,12,SS_SUNKEN
|
|
LTEXT "Local IP",IDC_STATIC,32,119,38,8
|
|
LTEXT "Public IP",IDC_STATIC,32,133,38,8
|
|
LTEXT "0.0.0.0",IDC_LOCAL_ADDR,72,119,143,12,SS_SUNKEN
|
|
LTEXT "0.0.0.0",IDC_PUBLIC_ADDR,72,133,143,12,SS_SUNKEN
|
|
LTEXT "none found",IDC_ICS_STAT,52,93,93,8,0,WS_EX_TRANSPARENT
|
|
LTEXT "Connection types:",IDC_STATIC,7,61,66,12
|
|
LTEXT "undefined",IDC_CONN_TYPES,19,71,187,8,SS_CENTERIMAGE,
|
|
WS_EX_TRANSPARENT
|
|
PUSHBUTTON "Open Port",IDM_OPEN,7,7,41,9,NOT WS_TABSTOP
|
|
PUSHBUTTON "Close Port",ID_FILE_CLOSEPORT,52,7,43,9,NOT WS_TABSTOP
|
|
PUSHBUTTON "Close All Ports",ID_FILE_CLOSEALLPORTS,99,7,55,9,NOT
|
|
WS_TABSTOP
|
|
PUSHBUTTON "Refresh Status",ID_FILE_REFRESH,158,7,53,9,NOT
|
|
WS_TABSTOP
|
|
PUSHBUTTON "About",IDM_ABOUT,213,7,27,9,NOT WS_TABSTOP
|
|
END
|
|
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
2 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
|
|
"#include ""windows.h""\r\n"
|
|
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
|
|
"#include ""resource.h""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
1 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|
BEGIN
|
|
IDD_MAIN, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 240
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 150
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_APP_TITLE "ICS test application"
|
|
IDC_ICSTEST "ICSTEST"
|
|
IDS_ICS_NONE "None found"
|
|
IDS_ICS_LOCAL "Found, server on this machine"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_ICS_DISTANT "Found, server not local"
|
|
END
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|