• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#include "OverwriteDialogRes.h"
2#include "../../GuiCommon.rc"
3
4#define xc 280
5#define yc 200
6
7#undef iconSize
8#define iconSize 24
9
10#undef x
11#undef fx
12#undef fy
13#define x (m + iconSize + m)
14#define fx (xc - iconSize - m)
15#define fy 50
16
17#define bSizeBig 104
18#undef bx1
19#define bx1 (xs - m - bSizeBig)
20
21IDD_OVERWRITE  DIALOG  0, 0, xs, ys  MY_MODAL_DIALOG_STYLE  MY_FONT
22CAPTION "Confirm File Replace"
23BEGIN
24  LTEXT  "Destination folder already contains processed file.", IDT_OVERWRITE_HEADER, m, 7, xc, 8
25  LTEXT  "Would you like to replace the existing file", IDT_OVERWRITE_QUESTION_BEGIN, m, 28, xc, 8
26
27  ICON   "", IDI_OVERWRITE_OLD_FILE,             m,  44, iconSize, iconSize
28  LTEXT  "", IDT_OVERWRITE_OLD_FILE_SIZE_TIME,   x,  44, fx, fy, SS_NOPREFIX
29
30  LTEXT  "with this one?", IDT_OVERWRITE_QUESTION_END, m,  98, xc, 8
31
32  ICON   "", IDI_OVERWRITE_NEW_FILE,             m, 114, iconSize, iconSize
33  LTEXT  "", IDT_OVERWRITE_NEW_FILE_SIZE_TIME,   x, 114, fx, fy, SS_NOPREFIX
34
35  PUSHBUTTON  "&Yes",         IDYES,             bx3, by2, bxs, bys
36  PUSHBUTTON  "Yes to &All",  IDB_YES_TO_ALL,    bx2, by2, bxs, bys
37  PUSHBUTTON  "A&uto Rename", IDB_AUTO_RENAME,   bx1, by2, bSizeBig, bys
38  PUSHBUTTON  "&No",          IDNO,              bx3, by1, bxs, bys
39  PUSHBUTTON  "No to A&ll",   IDB_NO_TO_ALL,     bx2, by1, bxs, bys
40  PUSHBUTTON  "&Cancel",      IDCANCEL, xs - m - bxs, by1, bxs, bys
41END
42
43
44#ifdef UNDER_CE
45
46#undef m
47#undef xc
48#undef yc
49
50#define m 4
51#define xc 152
52#define yc 144
53
54#undef fy
55#define fy 40
56
57#undef  bxs
58#define bxs 48
59
60#undef bx1
61
62#define bx1 (xs - m - bxs)
63
64IDD_OVERWRITE_2  DIALOG  0, 0, xs, ys  MY_MODAL_DIALOG_STYLE  MY_FONT
65CAPTION "Confirm File Replace"
66BEGIN
67  LTEXT  "Would you like to replace the existing file", IDT_OVERWRITE_QUESTION_BEGIN, m, m, xc, 8
68
69  ICON   "", IDI_OVERWRITE_OLD_FILE,             m,  20, iconSize, iconSize
70  LTEXT  "", IDT_OVERWRITE_OLD_FILE_SIZE_TIME,   x,  20, fx, fy, SS_NOPREFIX
71
72  LTEXT  "with this one?", IDT_OVERWRITE_QUESTION_END, m,  60, xc, 8
73
74  ICON   "", IDI_OVERWRITE_NEW_FILE,             m,  72, iconSize, iconSize
75  LTEXT  "", IDT_OVERWRITE_NEW_FILE_SIZE_TIME,   x,  72, fx, fy, SS_NOPREFIX
76
77  PUSHBUTTON  "&Yes",         IDYES,             bx3, by2, bxs, bys
78  PUSHBUTTON  "Yes to &All",  IDB_YES_TO_ALL,    bx2, by2, bxs, bys
79  PUSHBUTTON  "A&uto Rename", IDB_AUTO_RENAME,   bx1, by2, bxs, bys
80  PUSHBUTTON  "&No",          IDNO,              bx3, by1, bxs, bys
81  PUSHBUTTON  "No to A&ll",   IDB_NO_TO_ALL,     bx2, by1, bxs, bys
82  PUSHBUTTON  "&Cancel",      IDCANCEL,          bx1, by1, bxs, bys
83END
84
85#endif
86
87
88STRINGTABLE
89BEGIN
90  IDS_FILE_SIZE  "{0} bytes"
91END
92