-
Notifications
You must be signed in to change notification settings - Fork 5
/
PuTTYCS.rc
executable file
·448 lines (397 loc) · 16.3 KB
/
PuTTYCS.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
//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
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
"#define _AFX_NO_OLE_RESOURCES\r\n"
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
"\r\n"
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
"#ifdef _WIN32\r\n"
"LANGUAGE 9, 1\r\n"
"#pragma code_page(1252)\r\n"
"#endif //_WIN32\r\n"
"#include ""res\\PuTTYCS.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
"#include ""afxres.rc"" // Standard components\r\n"
"#endif\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME ICON DISCARDABLE "res\\PuTTYCS.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_PUTTYCS_DIALOG DIALOGEX 0, 0, 254, 166
STYLE DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE |
WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
CLASS "PUTTYCS_WND_CLASS"
FONT 8, "MS Sans Serif"
BEGIN
LTEXT "PuTTY Filter:",IDC_STATIC,7,6,88,8
COMBOBOX IDC_FILTERS_COMBOBOX,7,17,240,114,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "C&ascade",IDC_CASCADE_BUTTON,7,34,40,14
PUSHBUTTON "&Tile",IDC_TILE_BUTTON,47,34,40,14
PUSHBUTTON "Minimi&ze",IDC_MINIMIZE_BUTTON,87,34,40,14
PUSHBUTTON "&Hide",IDC_HIDE_BUTTON,127,34,40,14
PUSHBUTTON "&Close",IDC_CLOSE_BUTTON,167,34,40,14
PUSHBUTTON "&Filters",IDC_FILTERS_BUTTON,207,34,40,14
LTEXT "Command:",IDC_STATIC,7,54,40,8
PUSHBUTTON "Ctrl",IDC_CTRL_BUTTON,145,53,22,10
PUSHBUTTON "Inc",IDC_INC_BUTTON,168,53,22,10
PUSHBUTTON "5",IDC_CMDHISTORYUP_BUTTON,195,53,11,10,WS_DISABLED
PUSHBUTTON "6",IDC_CMDHISTORYDOWN_BUTTON,207,53,11,10,BS_CENTER |
BS_VCENTER | WS_DISABLED
PUSHBUTTON "r",IDC_CMDHISTORYCLEAR_BUTTON,219,53,11,10,BS_CENTER |
BS_VCENTER | WS_DISABLED
RADIOBUTTON "¿",IDC_SENDCR_PUSHBUTTON,236,53,11,10,BS_PUSHLIKE |
WS_TABSTOP
EDITTEXT IDC_COMMAND_EDIT,7,64,240,61,ES_MULTILINE |
ES_AUTOVSCROLL
PUSHBUTTON "5",IDC_UP_BUTTON,20,130,11,10
PUSHBUTTON "3",IDC_LEFT_BUTTON,8,140,11,10
PUSHBUTTON "i",IDC_CLEAR_BUTTON,20,140,11,10
PUSHBUTTON "4",IDC_RIGHT_BUTTON,32,140,11,10,BS_CENTER | BS_VCENTER
PUSHBUTTON "6",IDC_DOWN_BUTTON,20,150,11,10
PUSHBUTTON "Bc&ksp",IDC_BACKSPACE_BUTTON,48,130,25,14
PUSHBUTTON "D&elete",IDC_DELETE_BUTTON,48,145,25,14
PUSHBUTTON "Ctr&l-C",IDC_BREAK_BUTTON,74,130,25,14
PUSHBUTTON "Ctrl-R",IDC_CTRLR_BUTTON,74,145,25,14
PUSHBUTTON "Ctrl-D",IDC_CTRLD_BUTTON,100,130,25,14
PUSHBUTTON "Ctrl&-]",IDC_ENDTELNET_BUTTON,100,145,25,14
PUSHBUTTON "E&nter",IDC_ENTER_BUTTON,126,130,25,14
PUSHBUTTON "Es&c",IDC_ESCAPE_BUTTON,126,145,25,14
PUSHBUTTON "Passwor&d",IDC_PASSWORD_BUTTON,152,130,47,14
PUSHBUTTON "&Preferences",IDC_PREFERENCES_BUTTON,152,145,47,14
PUSHBUTTON "Sc&ript",IDC_SCRIPT_BUTTON,200,130,48,14
DEFPUSHBUTTON "&Send",IDC_SEND_BUTTON,200,145,48,14
END
IDD_PASSWORD_DIALOG DIALOG DISCARDABLE 0, 0, 186, 59
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Send Password"
FONT 8, "MS Sans Serif"
BEGIN
LTEXT "Enter Password:",IDC_STATIC,7,7,52,8
EDITTEXT IDC_PASSWORD_CEDIT,7,20,172,14,ES_PASSWORD |
ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDC_OK_BUTTON,78,38,50,14
PUSHBUTTON "Cancel",IDCANCEL,129,38,50,14
END
IDD_FILTERS_DIALOG DIALOG DISCARDABLE 0, 0, 200, 178
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "PuTTY Filters"
FONT 8, "MS Sans Serif"
BEGIN
LTEXT "Filter name:",IDC_STATIC,7,7,37,8
LISTBOX IDC_FILTERS_LISTBOX,7,19,186,51,LBS_NOINTEGRALHEIGHT |
WS_VSCROLL | WS_TABSTOP
LTEXT "Filter list:",IDC_STATIC,7,73,28,8
EDITTEXT IDC_FILTERLIST_EDIT,7,85,186,28,ES_MULTILINE |
ES_AUTOVSCROLL | ES_READONLY
PUSHBUTTON "Add",IDC_ADD_BUTTON,7,116,45,14
PUSHBUTTON "Edit",IDC_EDIT_BUTTON,54,116,46,14
PUSHBUTTON "Copy",IDC_COPY_BUTTON,101,116,45,14
PUSHBUTTON "Remove",IDC_REMOVE_BUTTON,7,132,45,14
PUSHBUTTON "Remove All",IDC_REMOVE_ALL_BUTTON,54,132,46,14
PUSHBUTTON "Move Up",IDC_MOVEUP_BUTTON,148,116,45,14
PUSHBUTTON "Move Down",IDC_MOVEDOWN_BUTTON,148,132,45,14
DEFPUSHBUTTON "OK",IDC_OK_BUTTON,41,157,50,14
PUSHBUTTON "Cancel",IDC_CANCEL_BUTTON,92,157,50,14
PUSHBUTTON "Apply",IDC_APPLY_BUTTON,143,157,50,14,WS_DISABLED
END
IDD_FILTER_DIALOG DIALOG DISCARDABLE 0, 0, 186, 142
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
FONT 8, "MS Sans Serif"
BEGIN
LTEXT "Filter name:",IDC_STATIC,7,7,38,8
EDITTEXT IDC_FILTERNAME_EDIT,7,19,169,14,ES_AUTOHSCROLL
LTEXT "Filter list:",IDC_STATIC,7,40,83,8
RTEXT "(Use * and ? for wildcards)",IDC_STATIC,92,40,84,8
EDITTEXT IDC_FILTERLIST_EDIT,7,52,169,28,ES_MULTILINE |
ES_AUTOVSCROLL
LTEXT "Format:",IDC_STATIC,23,88,25,8
LTEXT "+inclusion;+inclusion;...;+inclusion;",IDC_STATIC,49,88,
108,8
LTEXT "-exclusion;-exclusion;...;-exclusion",IDC_STATIC,49,99,
108,8
DEFPUSHBUTTON "OK",IDC_OK_BUTTON,75,121,50,14
PUSHBUTTON "Cancel",IDCANCEL,126,121,50,14
END
IDD_ABOUT_DIALOG DIALOG DISCARDABLE 0, 0, 192, 129
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About PuTTYCS"
FONT 8, "MS Sans Serif"
BEGIN
CTEXT "About Text Line 1",IDC_ABOUT_TEXT_LINE1,9,9,172,8
CTEXT "About Text Line 2",IDC_ABOUT_TEXT_LINE2,9,19,172,8
PUSHBUTTON "Visit Web Site",IDC_VISITWEBSITE_BUTTON,41,108,52,14
DEFPUSHBUTTON "Close",IDC_CLOSE_BUTTON,98,108,52,14
CTEXT "Portions of code based on SendKeys in C++\n© 2004 [email protected].",
IDC_ABOUT_TEXT_LINE3,7,36,178,16
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDFRAME,7,7,178,24
CTEXT "Support PuTTYCS Development!",IDC_STATIC,7,63,178,8
CONTROL 134,IDC_DONATION_BUTTON,"Static",SS_BITMAP | SS_NOTIFY |
WS_TABSTOP,75,75,41,19
END
IDD_PREFERENCES_DIALOG DIALOGEX 0, 0, 409, 207
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Preferences"
FONT 8, "MS Sans Serif"
BEGIN
GROUPBOX "Window:",IDC_STATIC,7,6,195,58
CONTROL "Tool window",IDC_TOOLWINDOW_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,14,20,72,10
CONTROL "Always on top",IDC_ALWAYSONTOP_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,14,34,72,10
CONTROL "Minimize to system tray",IDC_MINIMIZETOSYSTRAY_CHECKBOX,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,47,84,10
LTEXT "Opacity:",IDC_OPACITY1_STATIC,108,20,34,10,
SS_CENTERIMAGE
CONTROL "Slider1",IDC_OPACITY_SLIDER,"msctls_trackbar32",
WS_TABSTOP,141,19,35,11
LTEXT "100%",IDC_OPACITY2_STATIC,177,20,18,10,SS_CENTERIMAGE
GROUPBOX "Auto arrange:",IDC_STATIC,7,67,195,58
CONTROL "Off",IDC_AUTOARRANGE_OFF_RADIO,"Button",
BS_AUTORADIOBUTTON | WS_GROUP,13,83,44,10
CONTROL "Cascade",IDC_AUTOARRANGE_CASCADE_RADIO,"Button",
BS_AUTORADIOBUTTON,13,95,44,10
CONTROL "Tile",IDC_AUTOARRANGE_TILE_RADIO,"Button",
BS_AUTORADIOBUTTON,13,107,44,10
CONTROL "Minimize other PuTTYs",IDC_AUTOMINIMIZE_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,109,83,89,10
CONTROL "Arrange on startup",IDC_ARRANGEONSTARTUP_CHECKBOX,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,109,95,74,10
CONTROL "Unhide PuTTYs on exit",IDC_UNHIDEONEXIT_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,109,107,89,10
GROUPBOX "Tile method:",IDC_STATIC,7,129,95,54
CONTROL "Vertical",IDC_TILEMETHOD_VERTICAL_RADIO,"Button",
BS_AUTORADIOBUTTON | WS_GROUP,13,144,39,10
CONTROL "Horizontal",IDC_TILEMETHOD_HORIZONTAL_RADIO,"Button",
BS_AUTORADIOBUTTON,13,155,47,10
CONTROL "Classic",IDC_TILEMETHOD_CLASSIC_RADIO,"Button",
BS_AUTORADIOBUTTON,13,166,38,10
GROUPBOX "Cascade dimensions:",IDC_STATIC,107,129,95,54
EDITTEXT IDC_CASCADE_WIDTH_EDIT,116,150,22,12,ES_AUTOHSCROLL |
ES_NUMBER
LTEXT "x",IDC_STATIC,142,152,8,8,0,WS_EX_TRANSPARENT
EDITTEXT IDC_CASCADE_HEIGHT_EDIT,151,150,22,12,ES_AUTOHSCROLL |
ES_NUMBER
PUSHBUTTON "...",IDC_FIND_BUTTON,177,149,15,14
GROUPBOX "Keyboard/Mouse:",IDC_STATIC,207,6,195,58
CONTROL "Enable Tab completion",IDC_TABCOMPLETION_CHECKBOX,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,214,20,155,10
CONTROL "Scroll command history with up/down arrows keys",
IDC_CMDHISTORYSCROLLTHROUGH_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,214,34,182,10
CONTROL "Selection copies, right button pastes",
IDC_EMULATECOPYPASTE_CHECKBOX,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,214,47,155,10
GROUPBOX "Transition delays: (Advanced)",IDC_STATIC,207,67,195,58
LTEXT "Window",IDC_STATIC,216,84,32,10
EDITTEXT IDC_TRANSITION_EDIT,254,81,22,12,ES_AUTOHSCROLL |
ES_NUMBER
LTEXT "ms",IDC_STATIC,279,84,11,10
LTEXT "Post send ",IDC_STATIC,216,98,33,10
EDITTEXT IDC_POST_SEND_DELAY_EDIT,254,97,22,12,ES_AUTOHSCROLL |
ES_NUMBER
LTEXT "ms",IDC_STATIC,279,98,11,10
GROUPBOX "Miscellaneous:",IDC_STATIC,207,129,195,54
CONTROL "Save password",IDC_SAVEPASSWORD_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,214,144,63,10
CONTROL "Run on system startup",IDC_RUNONSYSTEMSTARTUP_CHECKBOX,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,214,155,136,10
CONTROL "Check for updates on startup",
IDC_CHECKFORUPDATES_CHECKBOX,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,214,166,136,10
DEFPUSHBUTTON "OK",IDC_OK_BUTTON,300,187,50,14
PUSHBUTTON "Cancel",IDCANCEL,352,187,50,14
END
#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,8,1,0
PRODUCTVERSION 1,8,1,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "Comments", "\0"
VALUE "CompanyName", "Millard Software\0"
VALUE "FileDescription", "PuTTYCS\0"
VALUE "FileVersion", "1, 8, 1, 0\0"
VALUE "InternalName", "PuTTYCS\0"
VALUE "LegalCopyright", "Copyright (C) 2005 - 2008\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "PuTTYCS.EXE\0"
VALUE "PrivateBuild", "\0"
VALUE "ProductName", "PuTTYCS - PuTTY Command Sender 1.8.1\0"
VALUE "ProductVersion", "1, 8, 1, 0\0"
VALUE "SpecialBuild", "\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_PUTTYCS_DIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 247
TOPMARGIN, 6
BOTTOMMARGIN, 159
END
IDD_PASSWORD_DIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 179
TOPMARGIN, 7
BOTTOMMARGIN, 52
END
IDD_FILTERS_DIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 193
TOPMARGIN, 7
BOTTOMMARGIN, 171
END
IDD_FILTER_DIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 176
TOPMARGIN, 7
BOTTOMMARGIN, 135
HORZGUIDE, 96
END
IDD_ABOUT_DIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 185
TOPMARGIN, 7
BOTTOMMARGIN, 122
END
IDD_PREFERENCES_DIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 402
TOPMARGIN, 7
BOTTOMMARGIN, 200
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_SYSTRAY_MENU MENU DISCARDABLE
BEGIN
POPUP "TrayMenu"
BEGIN
MENUITEM "Open PuTTYCS...", IDMI_SYSTRAYOPEN_MENUITEM
MENUITEM SEPARATOR
POPUP "Arrange filtered PuTTYs"
BEGIN
MENUITEM "Cascade", IDMI_SYSTRAYCASCADE_MENUITEM
MENUITEM "Tile", IDMI_SYSTRAYTILE_MENUITEM
MENUITEM "Minimize", IDMI_SYSTRAYMINIMIZE_MENUITEM
MENUITEM "Hide", IDMI_SYSTRAYHIDE_MENUITEM
END
MENUITEM SEPARATOR
MENUITEM "Preferences...", IDMI_SYSTRAYPREFERENCES_MENUITEM
MENUITEM "Check for Updates...", IDMI_SYSTRAYCHECKFORUPDATES_MENUITEM
MENUITEM SEPARATOR
MENUITEM "About PuTTYCS...", IDMI_SYSTRAYABOUT_MENUITEM
MENUITEM "Exit", IDMI_SYSTRAYEXIT_MENUITEM
END
END
/////////////////////////////////////////////////////////////////////////////
//
// 24
//
1 24 MOVEABLE PURE "PuTTYCS.mft"
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_DONATION_BITMAP BITMAP DISCARDABLE "res\\x-click-but04.bmp"
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE 9, 1
#pragma code_page(1252)
#endif //_WIN32
#include "res\PuTTYCS.rc2" // non-Microsoft Visual C++ edited resources
#include "afxres.rc" // Standard components
#endif
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED