1370b324cSopenharmony_ci#include "ExtractDialogRes.h" 2370b324cSopenharmony_ci#include "../../GuiCommon.rc" 3370b324cSopenharmony_ci 4370b324cSopenharmony_ci#define xc 336 5370b324cSopenharmony_ci#define yc 168 6370b324cSopenharmony_ci 7370b324cSopenharmony_ci#undef g1xs 8370b324cSopenharmony_ci#undef g2x 9370b324cSopenharmony_ci#undef g2x2 10370b324cSopenharmony_ci#undef g2xs 11370b324cSopenharmony_ci#undef g2xs2 12370b324cSopenharmony_ci 13370b324cSopenharmony_ci#define g1xs 160 14370b324cSopenharmony_ci 15370b324cSopenharmony_ci#define gSpace 20 16370b324cSopenharmony_ci#define g2x (m + g1xs + gSpace) 17370b324cSopenharmony_ci#define g2x2 (g2x + m) 18370b324cSopenharmony_ci#define g2xs (xc - g1xs - gSpace) 19370b324cSopenharmony_ci#define g2xs2 (g2xs - m - m) 20370b324cSopenharmony_ci 21370b324cSopenharmony_ci#undef GROUP_Y_SIZE 22370b324cSopenharmony_ci#ifdef UNDER_CE 23370b324cSopenharmony_ci#define GROUP_Y_SIZE 8 24370b324cSopenharmony_ci#else 25370b324cSopenharmony_ci#define GROUP_Y_SIZE 56 26370b324cSopenharmony_ci#endif 27370b324cSopenharmony_ci 28370b324cSopenharmony_ciIDD_EXTRACT DIALOG 0, 0, xs, ys MY_MODAL_DIALOG_STYLE MY_FONT 29370b324cSopenharmony_ciCAPTION "Extract" 30370b324cSopenharmony_ciBEGIN 31370b324cSopenharmony_ci LTEXT "E&xtract to:", IDT_EXTRACT_EXTRACT_TO, m, m, xc, 8 32370b324cSopenharmony_ci COMBOBOX IDC_EXTRACT_PATH, m, m + 12, xc - bxsDots - 12, 100, MY_COMBO_WITH_EDIT 33370b324cSopenharmony_ci PUSHBUTTON "...", IDB_EXTRACT_SET_PATH, xs - m - bxsDots, m + 12 - 2, bxsDots, bys, WS_GROUP 34370b324cSopenharmony_ci 35370b324cSopenharmony_ci CONTROL "", IDX_EXTRACT_NAME_ENABLE, MY_CHECKBOX, m, m + 34, 12, 10 36370b324cSopenharmony_ci EDITTEXT IDE_EXTRACT_NAME, m + 12 + 2, m + 32, g1xs - 12 - 2, 14, ES_AUTOHSCROLL 37370b324cSopenharmony_ci 38370b324cSopenharmony_ci LTEXT "Path mode:", IDT_EXTRACT_PATH_MODE, m, m + 52, g1xs, 8 39370b324cSopenharmony_ci COMBOBOX IDC_EXTRACT_PATH_MODE, m, m + 64, g1xs, 140, MY_COMBO 40370b324cSopenharmony_ci 41370b324cSopenharmony_ci CONTROL "Eliminate duplication of root folder", IDX_EXTRACT_ELIM_DUP, MY_CHECKBOX, 42370b324cSopenharmony_ci m, m + 84, g1xs, 10 43370b324cSopenharmony_ci 44370b324cSopenharmony_ci LTEXT "Overwrite mode:", IDT_EXTRACT_OVERWRITE_MODE, m, m + 104, g1xs, 8 45370b324cSopenharmony_ci COMBOBOX IDC_EXTRACT_OVERWRITE_MODE, m, m + 116, g1xs, 140, MY_COMBO 46370b324cSopenharmony_ci 47370b324cSopenharmony_ci 48370b324cSopenharmony_ci GROUPBOX "Password", IDG_PASSWORD, g2x, m + 36, g2xs, GROUP_Y_SIZE 49370b324cSopenharmony_ci EDITTEXT IDE_EXTRACT_PASSWORD, g2x2, m + 50, g2xs2, 14, ES_PASSWORD | ES_AUTOHSCROLL 50370b324cSopenharmony_ci CONTROL "Show Password", IDX_PASSWORD_SHOW, MY_CHECKBOX, g2x2, m + 72, g2xs2, 10 51370b324cSopenharmony_ci 52370b324cSopenharmony_ci// CONTROL "Restore alternate data streams", IDX_EXTRACT_ALT_STREAMS, MY_CHECKBOX, 53370b324cSopenharmony_ci// g2x, m + 104, g2xs, 10 54370b324cSopenharmony_ci CONTROL "Restore file security", IDX_EXTRACT_NT_SECUR, MY_CHECKBOX, 55370b324cSopenharmony_ci g2x, m + 104, g2xs, 10 56370b324cSopenharmony_ci 57370b324cSopenharmony_ci DEFPUSHBUTTON "OK", IDOK, bx3, by, bxs, bys, WS_GROUP 58370b324cSopenharmony_ci PUSHBUTTON "Cancel", IDCANCEL, bx2, by, bxs, bys 59370b324cSopenharmony_ci PUSHBUTTON "Help", IDHELP, bx1, by, bxs, bys 60370b324cSopenharmony_ciEND 61370b324cSopenharmony_ci 62370b324cSopenharmony_ci 63370b324cSopenharmony_ci#ifdef UNDER_CE 64370b324cSopenharmony_ci 65370b324cSopenharmony_ci#undef m 66370b324cSopenharmony_ci#define m 4 67370b324cSopenharmony_ci 68370b324cSopenharmony_ci#undef xc 69370b324cSopenharmony_ci#undef yc 70370b324cSopenharmony_ci 71370b324cSopenharmony_ci#define xc 152 72370b324cSopenharmony_ci#define yc 128 73370b324cSopenharmony_ci 74370b324cSopenharmony_ci#undef g1xs 75370b324cSopenharmony_ci 76370b324cSopenharmony_ci#define g1xs 64 77370b324cSopenharmony_ci 78370b324cSopenharmony_ciIDD_EXTRACT_2 DIALOG 0, 0, xs, ys MY_MODAL_DIALOG_STYLE MY_FONT 79370b324cSopenharmony_ciCAPTION "Extract" 80370b324cSopenharmony_ciBEGIN 81370b324cSopenharmony_ci LTEXT "E&xtract to:", IDT_EXTRACT_EXTRACT_TO, m, m, xc - bxsDots - 8, 8 82370b324cSopenharmony_ci COMBOBOX IDC_EXTRACT_PATH, m, m + 12, xc - bxsDots - 8, 100, MY_COMBO_WITH_EDIT 83370b324cSopenharmony_ci PUSHBUTTON "...", IDB_EXTRACT_SET_PATH, xs - m - bxsDots, m + 12 - 3, bxsDots, bys, WS_GROUP 84370b324cSopenharmony_ci 85370b324cSopenharmony_ci LTEXT "Path mode:", IDT_EXTRACT_PATH_MODE, m, m + 36, g1xs, 8 86370b324cSopenharmony_ci COMBOBOX IDC_EXTRACT_PATH_MODE, m + g1xs, m + 36, xc - g1xs, 100, MY_COMBO 87370b324cSopenharmony_ci 88370b324cSopenharmony_ci LTEXT "Overwrite mode:", IDT_EXTRACT_OVERWRITE_MODE, m, m + 56, g1xs, 8 89370b324cSopenharmony_ci COMBOBOX IDC_EXTRACT_OVERWRITE_MODE, m + g1xs, m + 56, xc - g1xs, 100, MY_COMBO 90370b324cSopenharmony_ci 91370b324cSopenharmony_ci LTEXT "Password", IDG_PASSWORD, m, m + 76, g1xs, 8 92370b324cSopenharmony_ci EDITTEXT IDE_EXTRACT_PASSWORD, m + g1xs, m + 76, xc - g1xs, 14, ES_PASSWORD | ES_AUTOHSCROLL 93370b324cSopenharmony_ci CONTROL "Show Password", IDX_PASSWORD_SHOW, MY_CHECKBOX, m, m + 92, xc, 10 94370b324cSopenharmony_ci 95370b324cSopenharmony_ci OK_CANCEL 96370b324cSopenharmony_ciEND 97370b324cSopenharmony_ci 98370b324cSopenharmony_ci#endif 99