4 #define x0s MY_PROGRESS_LABEL_UNITS_START
\r
5 #define x1s MY_PROGRESS_VALUE_UNITS
\r
6 #define x2s MY_PROGRESS_LABEL_UNITS_START
\r
7 #define x3s MY_PROGRESS_VALUE_UNITS
\r
10 #define x3 (xs - m - x3s)
\r
11 #define x2 (x3 - x2s)
\r
31 #define z2 (y4 + k + 1)
\r
34 #define z1 (z2 + z2s)
\r
36 #define z0 (z1 + z1s + m)
\r
39 #define yc (z0 + z0s + bys)
\r
42 DIALOG_ID MY_RESIZE_DIALOG
\r
45 PUSHBUTTON "&Background", IDC_BUTTON_PROGRESS_PRIORITY, bx3, by, bxs, bys
\r
46 PUSHBUTTON "&Pause", IDC_BUTTON_PAUSE, bx2, by, bxs, bys
\r
47 DEFPUSHBUTTON "Cancel", IDCANCEL, bx1, by, bxs, bys
\r
49 LTEXT "Elapsed time:", IDC_PROGRESS_ELAPSED, m, y0, x0s, 8
\r
50 LTEXT "Remaining time:", IDC_PROGRESS_REMAINING, m, y1, x0s, 8
\r
51 LTEXT "Files:", IDC_PROGRESS_FILES, m, y2, x0s, 8
\r
52 LTEXT "Compression ratio:",IDC_PROGRESS_RATIO, m, y3, x0s, 8
\r
53 LTEXT "Errors:", IDC_PROGRESS_ERRORS, m, y4, x0s, 8
\r
55 LTEXT "Total size:", IDC_PROGRESS_TOTAL, x2, y0, x2s, 8
\r
56 LTEXT "Speed:", IDC_PROGRESS_SPEED, x2, y1, x2s, 8
\r
57 LTEXT "Processed:", IDC_PROGRESS_UNPACKED, x2, y2, x2s, 8
\r
58 LTEXT "Compressed size:", IDC_PROGRESS_PACKED, x2, y3, x2s, 8
\r
60 RTEXT "", IDC_PROGRESS_ELAPSED_VALUE, x1, y0, x1s, 8
\r
61 RTEXT "", IDC_PROGRESS_REMAINING_VALUE, x1, y1, x1s, 8
\r
62 RTEXT "", IDC_PROGRESS_FILES_VALUE, x1, y2, x1s, 8
\r
63 RTEXT "", IDC_PROGRESS_RATIO_VALUE, x1, y3, x1s, 8
\r
64 RTEXT "", IDC_PROGRESS_ERRORS_VALUE, x1, y4, x1s, 8
\r
66 RTEXT "", IDC_PROGRESS_TOTAL_VALUE, x3, y0, x3s, 8
\r
67 RTEXT "", IDC_PROGRESS_SPEED_VALUE, x3, y1, x3s, 8
\r
68 RTEXT "", IDC_PROGRESS_UNPACKED_VALUE, x3, y2, x3s, 8
\r
69 RTEXT "", IDC_PROGRESS_PACKED_VALUE, x3, y3, x3s, 8
\r
71 LTEXT "", IDC_PROGRESS_FILE_NAME, m, z2, xc, z2s, SS_NOPREFIX | SS_LEFTNOWORDWRAP
\r
72 CONTROL "Progress1", IDC_PROGRESS1, "msctls_progress32", PBS_SMOOTH | WS_BORDER, m, z1, xc, z1s
\r
75 CONTROL "List1", IDC_PROGRESS_LIST, "SysListView32",
\r
76 LVS_REPORT | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,
\r