361 lines
11 KiB
Plaintext
361 lines
11 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
|
|
|
|
#ifndef _MAC
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Version
|
|
//
|
|
|
|
#include "..\..\bldcfg\dpvcfg.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Version
|
|
//
|
|
#ifdef WIN95
|
|
|
|
#include <windows.h>
|
|
#include "verinfo.h"
|
|
|
|
#include "..\..\bldcfg\dpcustrc.h"
|
|
|
|
#define VERSIONNAME DPVOICE_VERNAME_DPVHELP_WIN9X
|
|
#ifdef DEBUG
|
|
#define VERSIONDESCRIPTION DPVOICE_VERINFO_DPVHELP_DEBUG
|
|
#else
|
|
#define VERSIONDESCRIPTION DPVOICE_VERINFO_DPVHELP_RETAIL
|
|
#endif
|
|
#define VERSIONTYPE VFT_APP
|
|
#define VERSIONSUBTYPE VFT2_UNKNOWN
|
|
|
|
#include "verinfo.ver"
|
|
|
|
#else // WinNT
|
|
|
|
#include <windows.h>
|
|
#include <ntverp.h>
|
|
|
|
#include "..\..\bldcfg\dpcustrc.h"
|
|
|
|
#define VER_FILETYPE VFT_APP
|
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
|
#define VER_FILEDESCRIPTION_STR DPVOICE_VERINFO_DPVHELP_WINNT
|
|
#define VER_INTERNALNAME_STR DPVOICE_VERNAME_DPVHELP_WINNT
|
|
|
|
#include "common.ver"
|
|
|
|
#endif
|
|
|
|
|
|
#endif // !_MAC
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDI_DIRECTX ICON DISCARDABLE "directx.ico"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Menu
|
|
//
|
|
|
|
IDC_TESTWIN MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP "&File"
|
|
BEGIN
|
|
MENUITEM "E&xit", IDM_EXIT
|
|
END
|
|
POPUP "&Help"
|
|
BEGIN
|
|
MENUITEM "&About ...", IDM_ABOUT
|
|
END
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Accelerator
|
|
//
|
|
|
|
IDC_TESTWIN ACCELERATORS MOVEABLE PURE
|
|
BEGIN
|
|
"?", IDM_ABOUT, ASCII, ALT
|
|
"/", IDM_ABOUT, ASCII, ALT
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_ABOUTBOX DIALOG DISCARDABLE 22, 17, 230, 75
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "About"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
ICON IDI_DIRECTX,IDC_MYICON,14,9,16,16
|
|
LTEXT "testwin Version 1.0",IDC_STATIC,49,10,119,8,SS_NOPREFIX
|
|
LTEXT "Copyright (C) 1999",IDC_STATIC,49,20,119,8
|
|
DEFPUSHBUTTON "OK",IDOK,195,6,30,11,WS_GROUP
|
|
END
|
|
|
|
IDD_CANCELDIALOG DIALOG DISCARDABLE 0, 0, 186, 41
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "DirectPlayVoice Helper"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
PUSHBUTTON "Cancel",IDCANCEL,65,20,50,14
|
|
LTEXT "Waiting for lobby settings. Press Cancel to Cancel.",
|
|
IDC_STATIC,7,7,172,8
|
|
END
|
|
|
|
IDD_DIALOG_MAIN DIALOG DISCARDABLE 0, 0, 185, 73
|
|
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "DirectPlay Voice Chat"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CONTROL "Progress1",IDC_PROGRESS_RX,"msctls_progress32",
|
|
PBS_VERTICAL | PBS_SMOOTH | WS_BORDER,170,3,14,36
|
|
CONTROL "Progress1",IDC_PROGRESS_TX,"msctls_progress32",
|
|
PBS_VERTICAL | PBS_SMOOTH | WS_BORDER,153,3,15,36
|
|
CTEXT "Tx",IDC_STATIC,155,40,10,8
|
|
CTEXT "Rx",IDC_STATIC,172,40,10,8
|
|
CONTROL "Slider1",IDC_SLIDER_RECVOLUME,"msctls_trackbar32",
|
|
TBS_AUTOTICKS | TBS_VERT | TBS_BOTH | WS_BORDER |
|
|
WS_TABSTOP,122,3,29,45
|
|
CONTROL "Auto Gain",IDC_CHECK_AGC,"Button",BS_AUTOCHECKBOX |
|
|
BS_FLAT | WS_TABSTOP,121,49,47,10
|
|
LTEXT "Status: ",IDC_STATIC,3,4,38,8
|
|
LTEXT "Compression:",IDC_STATIC_CT_TITLE,3,14,44,8,NOT
|
|
WS_VISIBLE
|
|
LTEXT "Players: ",IDC_STATIC_PLAYERS_TITLE,3,26,44,8,NOT
|
|
WS_VISIBLE
|
|
LTEXT "Static",IDC_STATIC_STATUS,50,4,69,8
|
|
LTEXT "Static",IDC_STATIC_CT,50,14,70,8,NOT WS_VISIBLE
|
|
LTEXT "Static",IDC_STATIC_PLAYERS,50,26,72,8,NOT WS_VISIBLE
|
|
LTEXT "Host: ",IDC_STATIC_HOST_TITLE,3,38,44,8,NOT WS_VISIBLE
|
|
LTEXT "Static",IDC_STATIC_HOST,50,38,72,8,NOT WS_VISIBLE
|
|
LTEXT "Type:",IDC_STATIC_TYPE_TITLE,3,49,44,8,NOT WS_VISIBLE
|
|
LTEXT "Static",IDC_STATIC_TYPE,50,49,72,8,NOT WS_VISIBLE
|
|
CONTROL "Echo Suppress",IDC_CHECK_ES,"Button",BS_AUTOCHECKBOX |
|
|
BS_FLAT | WS_TABSTOP,121,60,61,10
|
|
END
|
|
|
|
IDD_DIALOG_CONNECT DIALOG DISCARDABLE 0, 0, 176, 63
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Connect"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,63,42,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,119,42,50,14
|
|
LTEXT "Address: ",IDC_STATIC,7,7,162,8
|
|
EDITTEXT IDC_EDIT_ADDRESS,7,19,162,14,ES_AUTOHSCROLL
|
|
END
|
|
|
|
IDD_DIALOG_HOST DIALOG DISCARDABLE 0, 0, 151, 87
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Host"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,37,66,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,89,66,50,14
|
|
LTEXT "Compression Type: ",IDC_STATIC,7,38,128,8
|
|
COMBOBOX IDC_COMBO_CT,7,50,132,59,CBS_DROPDOWNLIST | WS_VSCROLL |
|
|
WS_TABSTOP
|
|
LTEXT "Session Type: ",IDC_STATIC,7,7,128,8
|
|
COMBOBOX IDC_COMBO_TYPE,7,18,132,54,CBS_DROPDOWNLIST | WS_VSCROLL |
|
|
WS_TABSTOP
|
|
END
|
|
|
|
IDD_DIALOG_MAIN_STANDALONE DIALOG DISCARDABLE 0, 0, 307, 202
|
|
STYLE WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "DirectPlay Voice Chat"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CONTROL "Progress1",IDC_PROGRESS_RX,"msctls_progress32",
|
|
PBS_VERTICAL | PBS_SMOOTH | WS_BORDER,169,3,14,65
|
|
CONTROL "Progress1",IDC_PROGRESS_TX,"msctls_progress32",
|
|
PBS_VERTICAL | PBS_SMOOTH | WS_BORDER,153,3,14,66
|
|
CTEXT "",IDC_STATIC_TX,155,70,10,8
|
|
CTEXT "",IDC_STATIC_RX,171,70,10,8
|
|
CONTROL "Slider1",IDC_SLIDER_RECVOLUME,"msctls_trackbar32",
|
|
TBS_AUTOTICKS | TBS_VERT | TBS_BOTH | WS_BORDER |
|
|
WS_TABSTOP,121,4,29,73
|
|
CONTROL "AGC",IDC_CHECK_AGC,"Button",BS_AUTOCHECKBOX | BS_FLAT |
|
|
WS_TABSTOP,121,78,31,10
|
|
LTEXT "Status: ",IDC_STATIC,3,4,38,8
|
|
LTEXT "Static",IDC_STATIC_STATUS,50,4,69,8
|
|
LTEXT "Static",IDC_STATIC_CT,50,14,70,8,NOT WS_VISIBLE
|
|
LTEXT "Static",IDC_STATIC_PLAYERS,50,26,72,8,NOT WS_VISIBLE
|
|
LTEXT "Static",IDC_STATIC_HOST,50,38,72,8,NOT WS_VISIBLE
|
|
LTEXT "Static",IDC_STATIC_TYPE,50,49,72,8,NOT WS_VISIBLE
|
|
PUSHBUTTON "Connect",IDC_BUTTON_CONNECT,59,87,50,14,BS_FLAT
|
|
PUSHBUTTON "Host",IDC_BUTTON_HOST,5,87,50,14,BS_FLAT
|
|
LTEXT "Compression:",IDC_STATIC_CT_TITLE,3,14,44,8,NOT
|
|
WS_VISIBLE
|
|
LTEXT "Players: ",IDC_STATIC_PLAYERS_TITLE,3,26,44,8,NOT
|
|
WS_VISIBLE
|
|
LTEXT "Host: ",IDC_STATIC_HOST_TITLE,3,38,44,8,NOT WS_VISIBLE
|
|
LTEXT "Type:",IDC_STATIC_TYPE_TITLE,3,49,44,8,NOT WS_VISIBLE
|
|
CONTROL "Echo Suppress",IDC_CHECK_ES,"Button",BS_AUTOCHECKBOX |
|
|
BS_FLAT | WS_TABSTOP,121,89,61,10
|
|
LISTBOX IDC_LIST_OUTPUT,6,104,297,94,LBS_NOINTEGRALHEIGHT |
|
|
LBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
|
|
LISTBOX IDC_LIST_DVOICE,247,14,56,84,LBS_SORT |
|
|
LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | WS_VSCROLL |
|
|
WS_TABSTOP
|
|
LISTBOX IDC_LIST_DPLAY,186,14,56,85,LBS_SORT |
|
|
LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | WS_VSCROLL |
|
|
WS_TABSTOP
|
|
LTEXT "DPlay Players",IDC_STATIC,187,3,54,8
|
|
LTEXT "DVoice Players",IDC_STATIC,248,4,54,8
|
|
LTEXT "ID: ",IDC_STATIC,3,63,12,8
|
|
LTEXT "Static",IDC_STATIC_ID,50,63,72,8
|
|
END
|
|
|
|
IDD_DIALOG_SOUND DIALOG DISCARDABLE 0, 0, 151, 87
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Device Selection"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,37,66,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,89,66,50,14
|
|
LTEXT "Capture Device",IDC_STATIC,7,38,128,8
|
|
COMBOBOX IDC_COMBO_RECORD,7,50,132,59,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Playback Device",IDC_STATIC,7,7,128,8
|
|
COMBOBOX IDC_COMBO_PLAYBACK,7,18,132,54,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | 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_CANCELDIALOG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 179
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 34
|
|
END
|
|
|
|
IDD_DIALOG_CONNECT, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 169
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 56
|
|
END
|
|
|
|
IDD_DIALOG_HOST, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 139
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 80
|
|
END
|
|
|
|
IDD_DIALOG_SOUND, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 139
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 80
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_APP_TITLE "testwin"
|
|
IDS_HELLO "Hello World!"
|
|
IDC_TESTWIN "TESTWIN"
|
|
END
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|