1#include "OverwriteDialogRes.h" 2#include "../../GuiCommon.rc" 3 4#define xc 340 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 ICON "", IDI_OVERWRITE_OLD_FILE_2, m, 44 + iconSize, iconSize, iconSize 29 LTEXT "", IDT_OVERWRITE_OLD_FILE_SIZE_TIME, x, 44, fx, fy, SS_NOPREFIX 30 31 LTEXT "with this one?", IDT_OVERWRITE_QUESTION_END, m, 98, xc, 8 32 33 ICON "", IDI_OVERWRITE_NEW_FILE, m, 114, iconSize, iconSize 34 ICON "", IDI_OVERWRITE_NEW_FILE_2, m, 114 + iconSize, iconSize, iconSize 35 LTEXT "", IDT_OVERWRITE_NEW_FILE_SIZE_TIME, x, 114, fx, fy, SS_NOPREFIX 36 37 PUSHBUTTON "&Yes", IDYES, bx3, by2, bxs, bys 38 PUSHBUTTON "Yes to &All", IDB_YES_TO_ALL, bx2, by2, bxs, bys 39 PUSHBUTTON "A&uto Rename", IDB_AUTO_RENAME, bx1, by2, bSizeBig, bys 40 PUSHBUTTON "&No", IDNO, bx3, by1, bxs, bys 41 PUSHBUTTON "No to A&ll", IDB_NO_TO_ALL, bx2, by1, bxs, bys 42 PUSHBUTTON "&Cancel", IDCANCEL, xs - m - bxs, by1, bxs, bys 43END 44 45 46#ifdef UNDER_CE 47 48#undef m 49#undef xc 50#undef yc 51 52#define m 4 53#define xc 152 54#define yc 144 55 56#undef fy 57#define fy 40 58 59#undef bxs 60#define bxs 48 61 62#undef bx1 63 64#define bx1 (xs - m - bxs) 65 66IDD_OVERWRITE_2 DIALOG 0, 0, xs, ys MY_MODAL_DIALOG_STYLE MY_FONT 67CAPTION "Confirm File Replace" 68BEGIN 69 LTEXT "Would you like to replace the existing file", IDT_OVERWRITE_QUESTION_BEGIN, m, m, xc, 8 70 71 ICON "", IDI_OVERWRITE_OLD_FILE, m, 20, iconSize, iconSize 72 LTEXT "", IDT_OVERWRITE_OLD_FILE_SIZE_TIME, x, 20, fx, fy, SS_NOPREFIX 73 74 LTEXT "with this one?", IDT_OVERWRITE_QUESTION_END, m, 60, xc, 8 75 76 ICON "", IDI_OVERWRITE_NEW_FILE, m, 72, iconSize, iconSize 77 LTEXT "", IDT_OVERWRITE_NEW_FILE_SIZE_TIME, x, 72, fx, fy, SS_NOPREFIX 78 79 PUSHBUTTON "&Yes", IDYES, bx3, by2, bxs, bys 80 PUSHBUTTON "Yes to &All", IDB_YES_TO_ALL, bx2, by2, bxs, bys 81 PUSHBUTTON "A&uto Rename", IDB_AUTO_RENAME, bx1, by2, bxs, bys 82 PUSHBUTTON "&No", IDNO, bx3, by1, bxs, bys 83 PUSHBUTTON "No to A&ll", IDB_NO_TO_ALL, bx2, by1, bxs, bys 84 PUSHBUTTON "&Cancel", IDCANCEL, bx1, by1, bxs, bys 85END 86 87#endif 88 89 90STRINGTABLE 91BEGIN 92 IDS_FILE_SIZE "{0} bytes" 93END 94