forked from g8bpq/linbpq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BPQChat.rc
451 lines (391 loc) · 14.2 KB
/
BPQChat.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
//Microsoft Developer Studio generated resource script.
//
#include "chatrc.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS
#define CHAT
#define IDC_STATIC -1
#include "..\CommonSource\Versions.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_PROPPAGE_LARGE DIALOG DISCARDABLE 0, 0, 235, 156
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Property Page"
FONT 8, "MS Sans Serif"
BEGIN
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO MOVEABLE PURE
BEGIN
IDD_PROPPAGE_LARGE, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 228
TOPMARGIN, 7
BOTTOMMARGIN, 149
END
END
#endif // APSTUDIO_INVOKED
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// English (U.K.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
BPQMAILCHAT DIALOG DISCARDABLE 120, 50, 294, 165
STYLE DS_3DLOOK | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU |
WS_THICKFRAME
CAPTION "G8BPQ Chat Server 1.0.0.10 Beta July 2009"
CLASS "BPQMailChat"
FONT 8, "FixedSys"
BEGIN
LTEXT " User Callsign Stream Conf Queue RTT",101,3,4,
184,10
LTEXT "UTC",IDC_STATIC,197,5,15,10
LTEXT "Local",IDC_STATIC,241,5,21,10
LTEXT "",IDC_UTC,215,5,25,10
LTEXT "",IDC_LOCAL,269,5,25,10
LISTBOX 100,2,16,190,130,WS_VSCROLL
LTEXT "Chat Nodes",IDC_STATIC,197,25,40,10
LTEXT "",IDC_NODES,243,25,20,10
LTEXT "Chat Users",IDC_STATIC,197,35,40,10
LTEXT "0",IDC_CHATSEM,274,126,20,10
LTEXT "Chat Links",IDC_STATIC,197,45,40,10
LTEXT "",IDC_LINKS,243,45,20,10
LTEXT "Chat SEM Clashes",IDC_STATIC,197,126,68,10
LTEXT "",IDC_USERS,243,35,20,10
LTEXT "Con SEM Clashes",IDC_STATIC,197,135,68,10
LTEXT "0",IDC_CONSEM,274,135,20,10
END
CONSOLEWINDOW DIALOG DISCARDABLE 17, 25, 400, 301
STYLE DS_3DLOOK | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU |
WS_THICKFRAME
CAPTION "Chat Console"
MENU CONSOLEMENU
CLASS "CONSOLEWINDOW"
FONT 8, "FixedSys"
BEGIN
EDITTEXT 118,24,228,348,15,ES_AUTOHSCROLL | ES_NOHIDESEL
END
BPQMONWINDOW DIALOG DISCARDABLE 17, 25, 400, 300
STYLE DS_3DLOOK | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU |
WS_THICKFRAME
CAPTION "Chat Monitor"
MENU MENU_2
CLASS "BPQMONWINDOW"
FONT 8, "FixedSys"
BEGIN
LISTBOX 121,6,25,290,109,LBS_MULTIPLESEL | LBS_NOINTEGRALHEIGHT |
WS_VSCROLL | WS_HSCROLL
END
BPQDEBUGWINDOW DIALOG DISCARDABLE 17, 25, 400, 300
STYLE DS_3DLOOK | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU |
WS_THICKFRAME
CAPTION "Chat Debug Window"
MENU MENU_3
CLASS "BPQDEBUGWINDOW"
FONT 8, "FixedSys"
BEGIN
LISTBOX 122,5,156,290,109,LBS_MULTIPLESEL | LBS_NOINTEGRALHEIGHT |
WS_VSCROLL | WS_HSCROLL
END
CHAT_CONFIG DIALOG DISCARDABLE 0, 0, 372, 318
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Configuration"
FONT 8, "System"
BEGIN
LTEXT "Chat Appl Number",IDC_STATIC,91,110,61,8
EDITTEXT ID_CHATAPPL,159,108,29,14
LTEXT "Nodes to link to",IDC_STATIC,159,126,53,8
EDITTEXT ID_CHATNODES,29,141,313,60,ES_MULTILINE | ES_UPPERCASE |
ES_AUTOVSCROLL | ES_WANTRETURN | WS_VSCROLL
DEFPUSHBUTTON "Save",SAVENODES,160,204,50,14,BS_CENTER | BS_VCENTER
LTEXT "The Application Number defines which BPQ32 Application gives access to the Chat Server. Note this is the APPLNumber (1-32) not an Application Mask, as uses in many BPQ32 programs.",
IDC_STATIC,10,10,353,18
LTEXT "The Nodes to link to box defines which other Chat Nodes should be connected to, or from which connections may be accepted. The format is ALIAS:CALL, eg BPQCHT:G8BPQ-4.",
IDC_STATIC,10,31,355,22
LTEXT "The Callsign of the Chat Node is not defined here - it is obtained from the BPQ32 APPLCALL parameter corresponding to the Chat Appl Number.",
IDC_STATIC,10,76,360,21
LTEXT "Streams",IDC_STATIC,199,110,34,8
EDITTEXT ID_STREAMS,236,108,29,14
LTEXT "Chat Welcome Message",IDC_STATIC,142,222,82,8
EDITTEXT IDM_CHATUSERMSG,15,235,340,54,ES_MULTILINE |
ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN |
WS_VSCROLL
DEFPUSHBUTTON "Save Welcome Message",SAVEWELCOME,140,296,91,14,
BS_CENTER | BS_VCENTER
LTEXT " If the node is not directly connectable (ie is not in your NODES table) you can add a connect script. This consists of a series of commands seperared by |, eg NOTCHT:G8BPQ-4|C 3 GM8BPQ-9|CHAT",
IDC_STATIC,9,52,355,24
END
IDD_USERADDED_BOX DIALOG DISCARDABLE 176, 132, 129, 68
STYLE DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_THICKFRAME
FONT 8, "System"
BEGIN
DEFPUSHBUTTON "Ok",0,47,48,36,17,BS_CENTER | BS_VCENTER
LTEXT "Label0",5050,5,10,117,32
END
WELCOMEMSG DIALOG DISCARDABLE 26, 5, 381, 266
STYLE WS_CHILD | WS_VISIBLE
FONT 8, "System"
BEGIN
LTEXT "Normal User Welcome Message",IDC_STATIC,5,7,130,8
EDITTEXT IDM_USERMSG,5,20,340,45,ES_MULTILINE | ES_AUTOVSCROLL |
ES_AUTOHSCROLL | ES_WANTRETURN
LTEXT "Chat Welcome Message",IDC_STATIC,5,67,130,8
EDITTEXT IDM_CHATUSERMSG,5,80,340,45,ES_MULTILINE |
ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN
LTEXT "New User Welcome Message",IDC_STATIC,5,127,130,8
EDITTEXT IDM_NEWUSERMSG,5,140,340,45,ES_MULTILINE |
ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN
LTEXT "Expert User Welcome Message",IDC_STATIC,5,187,130,8
EDITTEXT IDM_EXPERTUSERMSG,5,200,340,25,ES_MULTILINE |
ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN
DEFPUSHBUTTON "Save",IDM_MSGSAVE,166,250,50,14,BS_CENTER | BS_VCENTER
LTEXT "$U : Callsign of the user $I : First name of the user $X Messages for user $x Unread messages",
IDC_STATIC,5,228,369,8
LTEXT "$L : Number of the latest message $N : Number of active messages. $Z : Last message read by user",
IDC_STATIC,5,238,365,10
END
IDD_CHATCOLCONFIG DIALOG DISCARDABLE 0, 0, 224, 120
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Chat Colour Configuration"
FONT 8, "System"
BEGIN
DEFPUSHBUTTON "Save",IDOK,50,95,50,14
PUSHBUTTON "Close",IDCANCEL,120,95,50,14
COMBOBOX IDC_CHATCALLS,10,5,100,60,CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_CHATCOLOURS,115,5,100,60,CBS_DROPDOWNLIST |
CBS_OWNERDRAWFIXED | WS_VSCROLL | WS_TABSTOP
END
IDD_UPDATECHATMAP DIALOG DISCARDABLE 0, 0, 274, 146
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Update Chat Map"
FONT 8, "System"
BEGIN
LTEXT "Click Help for full information about the Chat Network Map",
IDC_STATIC,5,10,195,15
DEFPUSHBUTTON "? Help",IDC_MAPHELP,220,10,33,11,BS_CENTER | BS_VCENTER
LTEXT "Position",IDC_STATIC,5,30,35,10
EDITTEXT IDC_MAPPOSITION,5,45,145,15,ES_AUTOHSCROLL
LTEXT "Popup Box Text. ",IDC_STATIC,5,65,70,9
EDITTEXT IDC_POPUPTEXT,5,80,200,35,ES_MULTILINE | ES_AUTOHSCROLL |
WS_HSCROLL
LTEXT "Popup Mode",IDC_STATIC,215,80,49,10
CONTROL "Hover",IDC_HOVER,"Button",BS_AUTORADIOBUTTON,219,92,45,
10
CONTROL "Click",IDC_CLICK,"Button",BS_AUTORADIOBUTTON,219,104,45,
10
DEFPUSHBUTTON "Send to Map System",IDSENDTOMAP,5,125,90,14
DEFPUSHBUTTON "Save",IDOK,100,125,35,14
PUSHBUTTON "Cancel",IDCANCEL,140,125,40,14
END
IDD_HRHELP DIALOG DISCARDABLE 0, 0, 415, 182
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Hierarchical Forwarding Help"
FONT 8, "System"
BEGIN
DEFPUSHBUTTON "OK",IDOK,182,158,50,14
EDITTEXT IDC_HRTEXT,4,4,405,150,ES_MULTILINE | ES_AUTOVSCROLL |
ES_AUTOHSCROLL | ES_READONLY | WS_VSCROLL | WS_HSCROLL
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO MOVEABLE PURE
BEGIN
"BPQMAILCHAT", DIALOG
BEGIN
BOTTOMMARGIN, 155
END
CHAT_CONFIG, DIALOG
BEGIN
RIGHTMARGIN, 371
BOTTOMMARGIN, 296
END
"IDD_USERADDED_BOX", DIALOG
BEGIN
BOTTOMMARGIN, 65
END
IDD_HRHELP, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 408
TOPMARGIN, 7
BOTTOMMARGIN, 175
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDC_BPQMailChat MENU DISCARDABLE
BEGIN
POPUP "Actions"
BEGIN
POPUP "Logging Options"
BEGIN
MENUITEM "Log Chat Traffic", IDM_LOGCHAT
END
POPUP "Disconnect User"
BEGIN
MENUITEM ".", IDM_DISCONNECT
END
MENUITEM "Update Chat Map Info", ID_ACTIONS_UPDATECHATMAPINFO
MENUITEM "Edit Chat Console Colours", IDM_EDITCHATCOLOURS
END
MENUITEM "&Configuration", IDM_CONFIG
POPUP "Windows"
BEGIN
MENUITEM "Chat Console (F3)", IDM_CHATCONSOLE
MENUITEM "Monitor (F4)", IDM_MONITOR
MENUITEM "Debug Chat (F5)", IDM_DEBUG
END
POPUP "&Help"
BEGIN
MENUITEM "&About ...", IDM_ABOUT
MENUITEM "Online Documentation", ID_HELP_ONLINEHELP
END
END
CONSOLEMENU MENU DISCARDABLE
BEGIN
POPUP "Options"
BEGIN
MENUITEM "Enable Bells", BPQBELLS
MENUITEM "Flash insstead of Beep on Bell", BPQFLASHONBELL
MENUITEM "Strip Linefeeds", BPQStripLF
MENUITEM "Wrap Input ", IDM_WRAPTEXT
MENUITEM "Beep if Input too long", IDM_WARNINPUT
MENUITEM "Flash on Chat User Connect", IDM_Flash
MENUITEM "Close Window on exit", IDM_CLOSEWINDOW
END
POPUP "Edit"
BEGIN
MENUITEM "Copy Output Window", BPQCOPYOUT
MENUITEM "Clear Output Window", BPQCLEAROUT
MENUITEM "Edit Chat Console Colours", IDM_EDITCHATCOLOURS
END
END
MENU_2 MENU DISCARDABLE
BEGIN
POPUP "Monitor"
BEGIN
MENUITEM "Monitor CHAT", MONCHAT
END
POPUP "Edit"
BEGIN
MENUITEM "Copy Monitor Window", BPQCOPYOUT
MENUITEM "Clear Monitor Window", BPQCLEAROUT
END
END
MENU_3 MENU DISCARDABLE
BEGIN
POPUP "Edit"
BEGIN
MENUITEM "Copy Monitor Window", BPQCOPYOUT
MENUITEM "Clear Monitor Window", BPQCLEAROUT
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDC_TELNETSERVER ACCELERATORS MOVEABLE PURE
BEGIN
"?", IDM_ABOUT, ASCII, ALT
"/", IDM_ABOUT, ASCII, ALT
END
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE MOVEABLE PURE
BEGIN
"chatrc.h\0"
END
2 TEXTINCLUDE MOVEABLE PURE
BEGIN
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""windows.h""\r\n"
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#define CHAT\r\n"
"#define IDC_STATIC -1\r\n"
"#include ""..\\CommonSource\\Versions.h""\r\n"
"\r\n"
"\0"
END
3 TEXTINCLUDE MOVEABLE PURE
BEGIN
"#include ""..\\StdVer.inc""\r\n"
"\0"
END
1 TEXTINCLUDE MOVEABLE PURE
BEGIN
"resource.h\0"
END
3 TEXTINCLUDE MOVEABLE PURE
BEGIN
"#include ""..\\StdVer.inc""\r\n"
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// AFX_DIALOG_LAYOUT
//
CHAT_CONFIG AFX_DIALOG_LAYOUT MOVEABLE PURE
BEGIN
0x0000
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_APP_TITLE "BPQMailChat"
IDC_BPQMailChat "BPQMailChat"
END
#endif // English (U.K.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "..\StdVer.inc"
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED