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
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
|
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.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
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"\r\n"
"\0"
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
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON ICON DISCARDABLE "rfbplayer.ico"
#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,1
PRODUCTVERSION 1,0,0,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "080904b0"
BEGIN
VALUE "Comments", "\0"
VALUE "CompanyName", "TightVNC Team\0"
VALUE "FileDescription", "RFB Session Player for Win32\0"
VALUE "FileVersion", "1, 0, 0, 1\0"
VALUE "InternalName", "rfbplayer\0"
VALUE "LegalCopyright", "Copyright (C) 2004-2005 TightVNC Team.\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "rfbplayer.exe\0"
VALUE "PrivateBuild", "\0"
VALUE "ProductName", "Rfb Session Player 1.0\0"
VALUE "ProductVersion", "1, 0, 0, 1\0"
VALUE "SpecialBuild", "\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x809, 1200
END
END
#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_MENU MENU DISCARDABLE
BEGIN
POPUP "File"
BEGIN
MENUITEM "Open File...\tCtrl+O", ID_OPENFILE
MENUITEM "Close File...\tCtrl+Q", ID_CLOSEFILE
MENUITEM SEPARATOR
MENUITEM "Info...\tCtrl+I", ID_SESSION_INFO
MENUITEM SEPARATOR
MENUITEM "Exit\tAlt+X", ID_EXIT
END
POPUP "Play"
BEGIN
MENUITEM "Play/Pause\tSpace", ID_PLAYPAUSE
MENUITEM "Stop\tC", ID_STOP
MENUITEM "Go To...\tCtrl+G", ID_GOTO
MENUITEM SEPARATOR
MENUITEM "Loop\tCtrl+L", ID_LOOP
MENUITEM SEPARATOR
MENUITEM "Options...\tO", ID_OPTIONS
END
POPUP "Help"
BEGIN
MENUITEM "Home Page", ID_HOMEPAGE
MENUITEM "Command Line Switches", ID_HELP_COMMANDLINESWITCHES
MENUITEM SEPARATOR
MENUITEM "About RfbPlayer...", ID_ABOUT
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDR_ACCELERATOR ACCELERATORS DISCARDABLE
BEGIN
"C", ID_STOP, VIRTKEY, NOINVERT
"C", ID_COPYTOCLIPBOARD, VIRTKEY, CONTROL, NOINVERT
"C", ID_FRAMEEXTRACT, VIRTKEY, ALT, NOINVERT
"G", ID_GOTO, VIRTKEY, CONTROL, NOINVERT
"I", ID_SESSION_INFO, VIRTKEY, CONTROL, NOINVERT
"L", ID_LOOP, VIRTKEY, CONTROL, NOINVERT
"O", ID_OPTIONS, VIRTKEY, NOINVERT
"O", ID_OPENFILE, VIRTKEY, CONTROL, NOINVERT
"P", ID_OPTIONS, VIRTKEY, CONTROL, NOINVERT
"Q", ID_CLOSEFILE, VIRTKEY, CONTROL, NOINVERT
VK_F5, ID_ZOOM_50, VIRTKEY, NOINVERT
VK_F6, ID_ZOOM_100, VIRTKEY, NOINVERT
VK_F7, ID_ZOOM_200, VIRTKEY, NOINVERT
VK_RETURN, ID_RETURN, VIRTKEY, NOINVERT
VK_RETURN, ID_FULLSCREEN, VIRTKEY, ALT, NOINVERT
VK_SPACE, ID_PLAYPAUSE, VIRTKEY, NOINVERT
"X", ID_EXIT, VIRTKEY, ALT, NOINVERT
END
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_TOOLBAR BITMAP DISCARDABLE "toolbar.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_GOTO DIALOG DISCARDABLE 0, 0, 153, 54
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "RfbPlayer : Go to position"
FONT 8, "MS Sans Serif"
BEGIN
EDITTEXT IDC_GOTO_EDIT,40,9,106,14,ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDOK,40,33,50,14
PUSHBUTTON "Cancel",IDCANCEL,95,33,51,14
LTEXT "Pos (ms):",IDC_STATIC,7,9,33,15,SS_CENTERIMAGE
END
IDD_PIXELFORMAT DIALOG DISCARDABLE 0, 0, 144, 78
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "RfbPlayer : Pixel Format"
FONT 8, "MS Sans Serif"
BEGIN
COMBOBOX IDC_PIXELFORMAT,7,20,130,98,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "OK",IDOK,20,57,50,14
PUSHBUTTON "Cancel",IDCANCEL,75,57,50,14
LTEXT "Choose the pixel format:",IDC_STATIC,7,7,130,13
CONTROL "Big endian flag",IDC_BIG_ENDIAN,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,7,40,63,12
END
IDD_OPTIONS DIALOG DISCARDABLE 0, 0, 187, 180
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Options"
FONT 8, "MS Sans Serif"
BEGIN
COMBOBOX IDC_PIXELFORMAT,15,30,157,75,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
CONTROL "Big endian flag",IDC_BIG_ENDIAN,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,15,52,60,10
CONTROL "Ask the pixel format before playing",IDC_ASK_PF,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,15,67,157,10
CONTROL "Accept the bells",IDC_ACCEPT_BELL,"Button",
BS_AUTOCHECKBOX | BS_TOP | WS_TABSTOP,15,105,157,15
CONTROL "Accept the cut text",IDC_ACCEPT_CUT_TEXT,"Button",
BS_AUTOCHECKBOX | BS_TOP | WS_TABSTOP,15,120,157,15
CONTROL "Start play the session when it is opened",IDC_AUTOPLAY,
"Button",BS_AUTOCHECKBOX | BS_TOP | WS_TABSTOP,15,135,
157,9
DEFPUSHBUTTON "OK",IDOK,20,161,50,13
PUSHBUTTON "Cancel",IDCANCEL,75,161,50,13
PUSHBUTTON "Default",IDC_DEFAULT,130,161,50,13
PUSHBUTTON "Edit User PF",IDC_EDIT_UPF,110,52,62,14
GROUPBOX "Pixel format",IDC_STATIC,7,6,173,79
LTEXT "Forces the pixel format for the rfb session:",
IDC_STATIC,15,17,157,13
GROUPBOX "Other",IDC_STATIC,7,90,173,65
END
IDD_ABOUT DIALOG DISCARDABLE 0, 0, 251, 95
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About Rfb Session Player for Windows"
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK",IDOK,195,70,47,15
ICON IDI_ICON,IDC_STATIC,7,10,20,20
LTEXT ">appname<",IDC_DESCRIPTION,40,10,125,15
LTEXT ">version<",IDC_VERSION,165,10,77,15
LTEXT ">buildtime<",IDC_BUILDTIME,40,25,202,15
LTEXT ">copyright<",IDC_COPYRIGHT,40,40,202,15
LTEXT "See http://www.tightvnc.com for more information on TightVNC.",
IDC_STATIC,40,55,202,15
END
IDD_USERPF_LIST DIALOG DISCARDABLE 0, 0, 207, 162
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Add / Remove the user pixel formats"
FONT 8, "MS Sans Serif"
BEGIN
LISTBOX IDC_PF_LIST,7,7,136,148,LBS_NOINTEGRALHEIGHT |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "Add",IDC_ADD_BUTTON,150,7,50,14
PUSHBUTTON "Remove",IDC_REMOVE_BUTTON,150,26,50,14
PUSHBUTTON "Edit",IDC_EDIT_BUTTON,150,45,50,14
PUSHBUTTON "Close",IDOK,150,64,50,14
END
IDD_UPF_EDIT DIALOG DISCARDABLE 0, 0, 204, 126
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Edit the user pixel format"
FONT 8, "MS Sans Serif"
BEGIN
EDITTEXT IDC_NAME_EDIT,68,7,129,13,ES_AUTOHSCROLL
COMBOBOX IDC_BPP_COMBO,68,23,39,45,CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
EDITTEXT IDC_DEPTH_EDIT,157,22,40,13,ES_AUTOHSCROLL | ES_NUMBER
COMBOBOX IDC_BIGENDIAN_COMBO,68,38,39,45,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
EDITTEXT IDC_REDMAX_EDIT,68,54,39,13,ES_AUTOHSCROLL | ES_NUMBER
EDITTEXT IDC_GREENMAX_EDIT,68,70,39,13,ES_AUTOHSCROLL | ES_NUMBER
EDITTEXT IDC_BLUEMAX_EDIT,68,86,39,13,ES_AUTOHSCROLL | ES_NUMBER
EDITTEXT IDC_REDSHIFT_EDIT,157,54,39,13,ES_AUTOHSCROLL |
ES_NUMBER
EDITTEXT IDC_GREENSHIFT_EDIT,157,70,40,13,ES_AUTOHSCROLL |
ES_NUMBER
EDITTEXT IDC_BLUESHIFT_EDIT,157,86,40,13,ES_AUTOHSCROLL |
ES_NUMBER
PUSHBUTTON "OK",IDOK,93,105,50,14
PUSHBUTTON "Cancel",IDCANCEL,147,105,50,14
LTEXT "Pixel format name:",IDC_STATIC,7,7,57,13,SS_CENTERIMAGE
LTEXT "Bit per pixel:",IDC_STATIC,7,23,38,12,SS_CENTERIMAGE
LTEXT "Big endian flag :",IDC_STATIC,7,38,53,13,SS_CENTERIMAGE
LTEXT "Red max :",IDC_STATIC,7,54,33,13,SS_CENTERIMAGE
LTEXT "Green max :",IDC_STATIC,7,70,38,13,SS_CENTERIMAGE
LTEXT "Blue max :",IDC_STATIC,7,86,38,13,SS_CENTERIMAGE
LTEXT "Depth:",IDC_STATIC,112,23,21,12,SS_CENTERIMAGE
LTEXT "Red shifts :",IDC_STATIC,112,54,36,13,SS_CENTERIMAGE
LTEXT "Green shifts :",IDC_STATIC,112,70,43,13,SS_CENTERIMAGE
LTEXT "Blue shifts :",IDC_STATIC,112,86,43,13,SS_CENTERIMAGE
END
IDD_INFO DIALOG DISCARDABLE 0, 0, 295, 207
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Information"
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "&OK",IDOK,122,186,50,14
EDITTEXT IDC_INFO_EDIT,7,7,281,172,ES_MULTILINE | ES_AUTOVSCROLL |
ES_AUTOHSCROLL | ES_READONLY | ES_WANTRETURN |
WS_VSCROLL | WS_HSCROLL
END
IDD_SESSION_INFO DIALOG DISCARDABLE 0, 0, 239, 106
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "RFB Session Info"
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK",IDOK,182,85,50,14
LTEXT "Desktop Name:",IDC_STATIC,7,10,73,15
LTEXT "Desktop Size:",IDC_STATIC,7,25,73,15
LTEXT "Pixel Format:",IDC_STATIC,7,40,73,15
LTEXT "Current Encoding:",IDC_STATIC,7,55,73,15
LTEXT "RFB Protocol Version:",IDC_STATIC,7,70,73,15
LTEXT "",IDC_DESKTOP_NAME,80,10,152,15
LTEXT "",IDC_DESKTOP_SIZE,80,25,152,15
LTEXT "",IDC_CURRENT_ENCODING,80,55,152,15
LTEXT "",IDC_VERSION,80,70,152,15
LTEXT "",IDC_PIXEL_FORMAT,80,40,152,15
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_GOTO, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 146
VERTGUIDE, 40
VERTGUIDE, 90
VERTGUIDE, 95
TOPMARGIN, 9
BOTTOMMARGIN, 47
HORZGUIDE, 9
HORZGUIDE, 24
HORZGUIDE, 35
END
IDD_PIXELFORMAT, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 137
VERTGUIDE, 20
VERTGUIDE, 70
VERTGUIDE, 75
VERTGUIDE, 125
TOPMARGIN, 7
BOTTOMMARGIN, 71
HORZGUIDE, 7
HORZGUIDE, 20
HORZGUIDE, 35
HORZGUIDE, 40
HORZGUIDE, 49
HORZGUIDE, 57
END
IDD_OPTIONS, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 180
VERTGUIDE, 15
VERTGUIDE, 20
VERTGUIDE, 70
VERTGUIDE, 75
VERTGUIDE, 125
VERTGUIDE, 130
VERTGUIDE, 172
TOPMARGIN, 6
BOTTOMMARGIN, 174
HORZGUIDE, 17
HORZGUIDE, 30
HORZGUIDE, 42
HORZGUIDE, 52
HORZGUIDE, 67
HORZGUIDE, 85
HORZGUIDE, 90
HORZGUIDE, 105
HORZGUIDE, 120
HORZGUIDE, 135
HORZGUIDE, 144
HORZGUIDE, 150
HORZGUIDE, 155
HORZGUIDE, 161
END
IDD_USERPF_LIST, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 200
TOPMARGIN, 7
BOTTOMMARGIN, 155
HORZGUIDE, 21
HORZGUIDE, 26
HORZGUIDE, 40
HORZGUIDE, 45
HORZGUIDE, 59
HORZGUIDE, 64
END
IDD_UPF_EDIT, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 197
TOPMARGIN, 7
BOTTOMMARGIN, 119
END
IDD_INFO, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 288
TOPMARGIN, 7
BOTTOMMARGIN, 200
END
IDD_SESSION_INFO, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 232
TOPMARGIN, 7
BOTTOMMARGIN, 99
HORZGUIDE, 10
HORZGUIDE, 25
HORZGUIDE, 40
HORZGUIDE, 55
HORZGUIDE, 70
HORZGUIDE, 85
END
END
#endif // APSTUDIO_INVOKED
#endif // English (U.K.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
|