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
|
// Microsoft Visual C++ generated resource script.
//
#include "..\src\resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// Ðóññêèé (Ðîññèÿ) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS)
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
#pragma code_page(1251)
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_DISABLE_SERVER ICON "dis_srv.ico"
IDI_SHARE_NEW_FILE ICON "share_ne.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_NEW_SHARE_PROPERTIES DIALOGEX 0, 0, 279, 57
STYLE DS_SETFONT | DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS
EXSTYLE WS_EX_ACCEPTFILES
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
EDITTEXT IDC_SHARE_NAME,46,10,63,14,ES_AUTOHSCROLL
EDITTEXT IDC_MAX_DOWNLOADS,61,29,48,14,ES_AUTOHSCROLL
CONTROL "IPAddress1",IDC_ALLOWED_IPADDRESS,"SysIPAddress32",WS_TABSTOP,150,9,100,15
CONTROL "IPAddress2",IDC_ALLOWED_IP_MASK,"SysIPAddress32",WS_TABSTOP,150,31,100,15
LTEXT "Max downloads",IDC_STATIC,5,31,50,8
LTEXT "Address",IDC_STATIC,120,12,26,8
LTEXT "Mask",IDC_STATIC,120,34,18,8
LTEXT "Share name",IDC_STATIC,5,12,39,8
GROUPBOX "Allowed IP",IDC_STATIC,115,0,161,54
PUSHBUTTON "",IDC_TOGGLE_MASK,257,31,13,15
END
IDD_STATISTICS_VIEW DIALOGEX 0, 0, 410, 198
STYLE DS_SETFONT | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
EXSTYLE WS_EX_ACCEPTFILES
CAPTION "HTTP Server statistics view"
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
CONTROL "List1",IDC_CURRENT_SHARES,"SysListView32",LVS_REPORT | WS_BORDER | WS_TABSTOP,7,20,396,86
CONTROL "List1",IDC_CURRENT_USERS,"SysListView32",LVS_REPORT | WS_BORDER | WS_TABSTOP,7,111,396,80
CONTROL "Display hidden shares",IDC_SHOWHIDDENSHARES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,87,6,125,11
PUSHBUTTON "New share",ID_SHARELIST_NEWSHARE,6,5,70,12
END
IDD_OPT_HTTP_SERVER DIALOGEX 0, 0, 314, 240
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
EDITTEXT IDC_EXTERNAL_SRV_NAME,15,73,284,21,ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN
CONTROL "Show HTTP server statistics",IDC_ADD_STATISTICS_MENU_ITEM,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,30,137,10
PUSHBUTTON "Set to default",IDC_EXTERNAL_SRV_DEFAULT,244,55,56,14
GROUPBOX "External server name",IDC_STATIC,10,47,294,106
LTEXT "This is the link pasted to the message window",IDC_STATIC,15,61,206,8
CONTROL "Write log file",IDC_WRITE_LOG_FILE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,162,31,66,10
CONTROL "Enable / Disable HTTP server",IDC_ACCEPT_COM_MENU_ITEM,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,15,135,10
GROUPBOX "Main menu items",IDC_STATIC,10,3,141,42
PUSHBUTTON "Open log",IDC_OPEN_LOG,250,27,50,14
CONTROL "Show popups",IDC_SHOW_POPUPS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,162,15,112,10
LTEXT "Page keyword",IDC_STATIC,20,129,46,8
LTEXT "URL address",IDC_STATIC,20,110,42,8
GROUPBOX "%ExternalIP% variable",IDC_STATIC,15,96,284,51
COMBOBOX IDC_URL_ADDRESS,74,108,220,30,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_PAGE_KEYWORD,74,127,163,30,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "Test",IDC_TEST_EXTERNALIP,244,126,51,14
EDITTEXT IDC_MAX_SPEED,15,181,24,12,ES_AUTOHSCROLL
LTEXT "Transfer limit (Kb/s)",IDC_STATIC,42,183,113,8
CONTROL "No control when Away or Not available",IDC_LIMIT_ONLY_WHEN_ONLINE,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,224,134,10
GROUPBOX "Connection control",IDC_STATIC,10,155,147,81
GROUPBOX "Index creation",IDC_STATIC,162,155,142,56
CONTROL "Disable",IDC_INDEX_OFF,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,169,168,125,10
CONTROL "Create HTML (compatibility)",IDC_INDEX_HTML,"Button",BS_AUTORADIOBUTTON,169,182,125,10
CONTROL "Create XML",IDC_INDEX_XML,"Button",BS_AUTORADIOBUTTON,169,196,125,10
GROUPBOX "Notifications",IDC_STATIC,157,3,147,42
LTEXT "Total connection limit",IDC_STATIC,42,197,113,8
LTEXT "Connections per user limit",IDC_STATIC,42,211,113,8
EDITTEXT IDC_MAX_CONN_TOTAL,15,195,24,12,ES_AUTOHSCROLL
EDITTEXT IDC_MAX_CONN_PER_USER,15,209,24,12,ES_AUTOHSCROLL
EDITTEXT IDC_DEFAULT_DOWNLOAD_LIMIT,15,167,24,12,ES_AUTOHSCROLL
LTEXT "Default download limit",IDC_STATIC,42,169,113,8
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_NEW_SHARE_PROPERTIES, DIALOG
BEGIN
LEFTMARGIN, 5
VERTGUIDE, 109
VERTGUIDE, 120
BOTTOMMARGIN, 46
HORZGUIDE, 31
END
IDD_STATISTICS_VIEW, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 403
TOPMARGIN, 7
BOTTOMMARGIN, 191
END
IDD_OPT_HTTP_SERVER, DIALOG
BEGIN
RIGHTMARGIN, 313
VERTGUIDE, 30
VERTGUIDE, 35
VERTGUIDE, 40
VERTGUIDE, 162
VERTGUIDE, 274
VERTGUIDE, 279
VERTGUIDE, 284
HORZGUIDE, 20
HORZGUIDE, 36
END
END
#endif // APSTUDIO_INVOKED
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"..\\src\\resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_MENU1 MENU
BEGIN
POPUP "1"
BEGIN
MENUITEM "&Edit share", ID_SHARELIST_EDITSHARE
MENUITEM "&Remove share", ID_SHARELIST_REMOVESHARE
MENUITEM SEPARATOR
MENUITEM "&Open in Browser", ID_SHARELIST_OPEN
MENUITEM "&Copy link", ID_SHARELIST_COPYLINK
END
END
#endif // Ðóññêèé (Ðîññèÿ) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
|