summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mmap_SA/Dbtool/resource.rc
blob: 7aa4cba2497cae81da46262c604a3b7b0330a047 (plain)
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
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include <windows.h>

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// Neutral resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
#ifdef _WIN32
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//

IDB_BITMAP1             BITMAP                  "res\\dbtool.bmp"

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_LOGIN DIALOGEX 0, 0, 182, 78
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOPMOST | WS_EX_TOOLWINDOW
CAPTION "Miranda MMAP Secured Database"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,33,59,54,14
    PUSHBUTTON      "Cancel",IDCANCEL,91,59,54,14
    CTEXT           "Please enter password for",IDC_LOGININFO,6,4,169,8
    CTEXT           "",IDC_DBNAME,5,14,169,8
    EDITTEXT        IDC_USERPASS,15,33,132,14,ES_PASSWORD | ES_AUTOHSCROLL
    CTEXT           "EN",IDC_LANG,155,32,16,14,SS_CENTERIMAGE
    CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDFRAME,0,26,181,1
    CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDFRAME,0,53,181,1
END


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO 
BEGIN
    IDD_LOGIN, DIALOG
    BEGIN
        LEFTMARGIN, 6
        RIGHTMARGIN, 175
        TOPMARGIN, 7
        BOTTOMMARGIN, 73
        HORZGUIDE, 68
    END
END
#endif    // APSTUDIO_INVOKED

#endif    // Russian resources
/////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////
// 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

/////////////////////////////////////////////////////////////////////////////
//
// RT_MANIFEST
//

1                       RT_MANIFEST             "dbtool.exe.manifest"
#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
//

IDD_WELCOME DIALOGEX 0, 0, 262, 143
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
    CONTROL         IDI_PROFILEYELLOW,IDC_WATERMARK,"Static",SS_BITMAP,0,0,63,143
    LTEXT           "whiterect",IDC_STATIC,63,0,199,143
    LTEXT           "Welcome to the Miranda Database Wizard",IDC_TITLE,77,12,178,24,0,WS_EX_TRANSPARENT
    LTEXT           "Using this Wizard you can compact your Miranda profile database to remove dead space created during normal usage, as well as repair a large number of issues that could affect the database.",IDC_STATIC,77,46,178,32,0,WS_EX_TRANSPARENT
    LTEXT           "To continue, click Next.",IDC_STATIC,77,85,178,8,0,WS_EX_TRANSPARENT
    LTEXT           "This programme is licenced under the terms of the GNU General Public License.",IDC_STATIC,77,122,178,16,WS_DISABLED
END

IDD_WIZARD DIALOGEX 0, 0, 262, 174
STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_CONTROLPARENT
CAPTION "Miranda Database Tool"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
    PUSHBUTTON      "< &Back",IDC_BACK,96,153,50,14
    DEFPUSHBUTTON   "&Next >",IDOK,146,153,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,205,153,50,14
    CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,-5,143,269,1
END

IDD_SELECTDB DIALOGEX 0, 0, 262, 143
STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
    LTEXT           "whiterect",IDC_STATIC,2,0,259,32
    LTEXT           "Select Miranda Profile",IDC_STATIC,11,6,206,8,WS_BORDER
    ICON            IDI_DBTOOL,IDC_HDRLOGO,234,3,20,20
    LTEXT           "You can choose the Miranda profile database to compact or repair.",IDC_STATIC,20,14,220,16
    LTEXT           "Select the &profile database from the list below. If the database you wish to use is not listed here then click Other to browse your computer.",IDC_STATIC,10,35,242,16
    CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,-1,32,264,1
    CONTROL         "List1",IDC_DBLIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SORTASCENDING | LVS_AUTOARRANGE | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,10,53,242,72
    LTEXT           "&File:",IDC_STATIC,10,130,20,8
    EDITTEXT        IDC_FILE,32,128,176,12,ES_AUTOHSCROLL
    PUSHBUTTON      "&Other...",IDC_OTHER,212,128,40,12
END

IDD_OPENERROR DIALOGEX 0, 0, 262, 143
STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
    LTEXT           "whiterect",IDC_STATIC,0,0,261,32
    LTEXT           "Error Opening Database",IDC_STATIC,11,6,206,8,WS_BORDER
    ICON            IDI_DBTOOL,IDC_HDRLOGO,234,3,20,20
    LTEXT           "There was an error opening the profile database given.",IDC_STATIC,20,14,197,16
    CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,-1,32,264,1
    LTEXT           "",IDC_ERRORTEXT,23,38,226,16,SS_NOPREFIX | WS_BORDER
    LTEXT           "Click Next to try opening the file again, or click Back to select a new profile database to manipulate.",IDC_STATIC,23,67,226,16
    LTEXT           "The file may be in use by a currently running copy of Miranda. Exit any running Mirandas and click Next to retry.",IDC_INUSE,23,87,226,16,NOT WS_VISIBLE
    LTEXT           "",IDC_FILE,23,57,226,8,SS_NOPREFIX
END

IDD_FILEACCESS DIALOGEX 0, 0, 262, 143
STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
    LTEXT           "whiterect",IDC_STATIC,0,0,261,32
    LTEXT           "File Access Options",IDC_STATIC,11,6,206,8,WS_BORDER
    ICON            IDI_DBTOOL,IDC_HDRLOGO,234,3,20,20
    LTEXT           "You can select low level options to determine how the database is processed.",IDC_STATIC,20,14,197,16
    CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,-1,32,264,1
    CONTROL         "Create backup",IDC_BACKUP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,23,69,226,10,WS_EX_CLIENTEDGE
    LTEXT           "Creates a backup copy of the database before any of the requested changes are made.",IDC_STBACKUP,37,80,212,16
    CONTROL         "Aggressively find corruption",IDC_AGGRESSIVE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,23,100,226,10,WS_EX_CLIENTEDGE
    LTEXT           "Scans the database for data that is not linked to any other data. This requires more disk space and more time, so is only required if you suspect corruption.",IDC_STATIC,37,111,212,24
    CONTROL         "Check consistency only",IDC_CHECKONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,23,38,226,10,WS_EX_CLIENTEDGE
    LTEXT           "Just checks that the database is valid, without writing anything to the disk.",IDC_STATIC,37,49,212,16
END

IDD_CLEANING DIALOGEX 0, 0, 262, 143
STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
    LTEXT           "whiterect",IDC_STATIC,0,0,261,32
    LTEXT           "Cleaning Options",IDC_STATIC,11,6,206,8,WS_BORDER
    ICON            IDI_DBTOOL,IDC_HDRLOGO,234,3,20,20
    LTEXT           "You can choose to remove information from the database while it is being processed.",IDC_STATIC,20,14,220,16
    CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,-1,32,264,1
    CONTROL         "Erase all histories",IDC_ERASEHISTORY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,23,38,226,10,WS_EX_CLIENTEDGE
    LTEXT           "Removes all the saved history for all contacts in the database.",IDC_STATIC,37,49,212,8
    CONTROL         "Mark all events read",IDC_MARKREAD,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,23,62,226,10,WS_EX_CLIENTEDGE
    LTEXT           "Marks all the history events as read. This will rectify any problems with old messages always appearing in the message window log box.",IDC_STATIC,37,73,212,24
    CONTROL         "Convert old Unicode messages to UTF8",IDC_CONVERTUTF,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,23,101,226,10,WS_EX_CLIENTEDGE
    LTEXT           "Converts history messages in pre-0.7 format (ANSI+UCS2) to the new UTF8 format supported by 0.7. Saves the database space in most cases (recommended).",IDC_STATIC,37,111,212,25
END

IDD_PROGRESS DIALOGEX 0, 0, 262, 143
STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
    LTEXT           "whiterect",-1,0,0,261,32
    LTEXT           "Working...",-1,11,6,206,8,WS_BORDER
    ICON            IDI_DBTOOL,IDC_HDRLOGO,234,3,20,20
    LTEXT           "Please wait while the requested operations are being performed.",-1,20,14,197,16
    CONTROL         "",-1,"Static",SS_ETCHEDHORZ,-1,32,264,1
    CONTROL         "Progress1",IDC_PROGRESS,"msctls_progress32",PBS_SMOOTH | WS_BORDER,20,38,222,11
    LISTBOX         IDC_STATUS,20,52,222,84,NOT LBS_NOTIFY | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | LBS_NOSEL | WS_VSCROLL | WS_TABSTOP
END

IDD_FINISHED DIALOGEX 0, 0, 262, 143
STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
    LTEXT           "whiterect",IDC_STATIC,0,0,262,32
    LTEXT           "Finished!",IDC_STATIC,11,6,206,8,WS_BORDER
    ICON            IDI_DBTOOL,IDC_HDRLOGO,234,3,20,20
    LTEXT           "All tasks have been completed.",IDC_STATIC,20,14,197,16
    CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,-1,32,264,1
    CONTROL         "Launch Miranda with this profile",IDC_LAUNCHMIRANDA,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,23,87,239,10,WS_EX_CLIENTEDGE
    LTEXT           "Launches Miranda with the profile that was just worked on.",IDC_STATIC,37,98,225,8
    LTEXT           "",IDC_DBFILE,23,68,239,8,SS_NOPREFIX | WS_BORDER
    RTEXT           "Backup:",IDC_STBACKUP,23,76,30,8
    LTEXT           "",IDC_BACKUPFILE,69,76,193,8,SS_NOPREFIX
    LTEXT           "The processing of the database has been completed. Click Next to return to the start of the wizard to select another database to check, or click Finish to exit the wizard.",IDC_STATIC,23,38,220,24
END


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO 
BEGIN
    IDD_WELCOME, DIALOG
    BEGIN
        LEFTMARGIN, 5
        RIGHTMARGIN, 255
        VERTGUIDE, 77
        TOPMARGIN, 5
        BOTTOMMARGIN, 138
    END

    IDD_WIZARD, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 255
        TOPMARGIN, 7
        BOTTOMMARGIN, 167
    END

    IDD_SELECTDB, DIALOG
    BEGIN
        LEFTMARGIN, 23
        RIGHTMARGIN, 249
        TOPMARGIN, 38
        BOTTOMMARGIN, 136
    END

    IDD_OPENERROR, DIALOG
    BEGIN
        LEFTMARGIN, 23
        RIGHTMARGIN, 249
        TOPMARGIN, 38
        BOTTOMMARGIN, 136
    END

    IDD_FILEACCESS, DIALOG
    BEGIN
        LEFTMARGIN, 23
        RIGHTMARGIN, 249
        VERTGUIDE, 37
        TOPMARGIN, 38
        BOTTOMMARGIN, 136
    END

    IDD_CLEANING, DIALOG
    BEGIN
        LEFTMARGIN, 23
        RIGHTMARGIN, 249
        VERTGUIDE, 37
        TOPMARGIN, 38
        BOTTOMMARGIN, 136
    END

    IDD_PROGRESS, DIALOG
    BEGIN
        LEFTMARGIN, 20
        RIGHTMARGIN, 242
        TOPMARGIN, 38
        BOTTOMMARGIN, 136
    END

    IDD_FINISHED, DIALOG
    BEGIN
        LEFTMARGIN, 23
        VERTGUIDE, 37
        TOPMARGIN, 38
        BOTTOMMARGIN, 136
    END
END
#endif    // APSTUDIO_INVOKED


#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE 
BEGIN
    "#include <windows.h>\r\n"
    "\0"
END

3 TEXTINCLUDE 
BEGIN
    "\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_DBTOOL              ICON                    "res\\dbtool.ico"
IDI_PROFILEGREEN        ICON                    "res\\profileg.ico"
IDI_PROFILEYELLOW       ICON                    "res\\profiley.ico"
IDI_PROFILERED          ICON                    "res\\profiler.ico"
IDI_BAD                 ICON                    "res\\delete.ico"

#endif    // Neutral resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED