Index: src/ch/CfgProperties.h =================================================================== diff -u -rb165add706c4fab9d783f0564b1dd398492da491 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/ch/CfgProperties.h (.../CfgProperties.h) (revision b165add706c4fab9d783f0564b1dd398492da491) +++ src/ch/CfgProperties.h (.../CfgProperties.h) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -61,7 +61,6 @@ PP_MVUSESMOOTHPROGRESS, PP_CMSETDESTATTRIBUTES, - PP_CMSETDESTDATE, PP_CMPROTECTROFILES, PP_USECUSTOMNAMING, @@ -266,7 +265,6 @@ ADAPT_TASK_PROPERTY(PP_BFQUEUEDEPTH, chcore::eTO_BufferQueueDepth); ADAPT_TASK_PROPERTY(PP_CMSETDESTATTRIBUTES, chcore::eTO_SetDestinationAttributes); -ADAPT_TASK_PROPERTY(PP_CMSETDESTDATE, chcore::eTO_SetDestinationDateTime); ADAPT_TASK_PROPERTY(PP_CMPROTECTROFILES, chcore::eTO_ProtectReadOnlyFiles); ADAPT_TASK_PROPERTY(PP_CMREADSIZEBEFOREBLOCKING, chcore::eTO_ScanDirectoriesBeforeBlocking); ADAPT_TASK_PROPERTY(PP_CMFASTMOVEBEFOREBLOCKING, chcore::eTO_FastMoveBeforeBlocking); Index: src/ch/OptionsDlg.cpp =================================================================== diff -u -r306fbe693c70290af9de9a5779084a697de22d75 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/ch/OptionsDlg.cpp (.../OptionsDlg.cpp) (revision 306fbe693c70290af9de9a5779084a697de22d75) +++ src/ch/OptionsDlg.cpp (.../OptionsDlg.cpp) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -292,7 +292,6 @@ PROP_SEPARATOR(IDS_PROCESSINGTHREAD_STRING); PROP_BOOL(IDS_SETDESTATTRIB_STRING, GetPropValue(GetConfig())); - PROP_BOOL(IDS_SETDESTTIME_STRING, GetPropValue(GetConfig())); PROP_BOOL(IDS_PROTECTROFILES_STRING, GetPropValue(GetConfig())); PROP_BOOL(IDS_USECUSTOMNAMING, GetPropValue(GetConfig())); @@ -420,7 +419,6 @@ SKIP_SEPARATOR(iPosition); SetPropValue(rConfig, GetBoolProp(iPosition++)); - SetPropValue(rConfig, GetBoolProp(iPosition++)); SetPropValue(rConfig, GetBoolProp(iPosition++)); SetPropValue(rConfig, GetBoolProp(iPosition++)); SetPropValue(rConfig, GetStringProp(iPosition++)); Index: src/ch/ch.rc =================================================================== diff -u -r703c2c3cbecb069b164b38bd34ed708ae15225c6 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/ch/ch.rc (.../ch.rc) (revision 703c2c3cbecb069b164b38bd34ed708ae15225c6) +++ src/ch/ch.rc (.../ch.rc) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -1,1329 +1,1328 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -// Generated Help ID header file -#define APSTUDIO_HIDDEN_SYMBOLS -#include "resource.hm" -#undef APSTUDIO_HIDDEN_SYMBOLS - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#define _USING_V110_SDK71_ 1 -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (United States) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_MSGBOX_DIALOG DIALOGEX 0, 0, 177, 70 -STYLE DS_SETFONT | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_THICKFRAME -CAPTION "Copy Handler" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - PUSHBUTTON "",IDC_SECOND_BUTTON,63,49,50,14 - PUSHBUTTON "",IDC_THIRD_BUTTON,119,49,50,14 - ICON "",IDC_IMAGE_STATIC,13,13,20,20,SS_REALSIZEIMAGE - CONTROL "Do not show this again",IDC_BASIC_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,36,163,10 - PUSHBUTTON "",IDC_FIRST_BUTTON,7,49,50,14 - CONTROL "",IDC_MSG_RICHEDIT,"RichEdit20W",ES_MULTILINE | ES_READONLY | WS_DISABLED | WS_TABSTOP,43,13,127,20 - CONTROL "",IDC_MEASURE_RICHEDIT,"RichEdit20W",ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_READONLY | NOT WS_VISIBLE | WS_DISABLED | WS_TABSTOP,7,7,11,7 -END - -IDD_BUFFERSIZE_DIALOG DIALOGEX 0, 0, 345, 135 -STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -CAPTION "Buffer size settings" -FONT 8, "Tahoma", 0, 0, 0x1 -BEGIN - EDITTEXT IDC_DEFAULTSIZE_EDIT,35,17,97,14,ES_AUTOHSCROLL | NOT WS_BORDER,WS_EX_CLIENTEDGE,HIDC_DEFAULTSIZE_EDIT - COMBOBOX IDC_DEFAULTMULTIPLIER_COMBO,134,18,31,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_DEFAULTMULTIPLIER_COMBO - EDITTEXT IDC_ONEDISKSIZE_EDIT,35,49,97,14,ES_AUTOHSCROLL | NOT WS_BORDER,WS_EX_CLIENTEDGE,HIDC_ONEDISKSIZE_EDIT - COMBOBOX IDC_ONEDISKMULTIPLIER_COMBO,134,50,31,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_ONEDISKMULTIPLIER_COMBO - EDITTEXT IDC_TWODISKSSIZE_EDIT,35,81,97,14,ES_AUTOHSCROLL | NOT WS_BORDER,WS_EX_CLIENTEDGE,HIDC_TWODISKSSIZE_EDIT - COMBOBOX IDC_TWODISKSMULTIPLIER_COMBO,134,82,31,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_TWODISKSMULTIPLIER_COMBO - EDITTEXT IDC_CDROMSIZE_EDIT,206,18,97,14,ES_AUTOHSCROLL | NOT WS_BORDER,WS_EX_CLIENTEDGE,HIDC_CDROMSIZE_EDIT - COMBOBOX IDC_CDROMMULTIPLIER_COMBO,307,18,31,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_CDROMMULTIPLIER_COMBO - EDITTEXT IDC_LANSIZE_EDIT,206,51,97,14,ES_AUTOHSCROLL | NOT WS_BORDER,WS_EX_CLIENTEDGE,HIDC_LANSIZE_EDIT - COMBOBOX IDC_LANMULTIPLIER_COMBO,307,52,31,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_LANMULTIPLIER_COMBO - EDITTEXT IDC_BUFFERCOUNT_EDIT,206,82,122,14,ES_AUTOHSCROLL | ES_NUMBER - CONTROL "",IDC_BUFFERCOUNT_SPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,327,82,11,14 - CONTROL "Use only default buffer",IDC_ONLYDEFAULT_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,102,331,10,0,HIDC_ONLYDEFAULT_CHECK - DEFPUSHBUTTON "&OK",IDOK,176,114,50,14,0,0,HIDOK - PUSHBUTTON "&Cancel",IDCANCEL,229,114,50,14,0,0,HIDCANCEL - PUSHBUTTON "&Help",IDC_HELP_BUTTON,288,114,50,14,0,0,HIDC_HELP_BUTTON - LTEXT "Default",IDC_001_STATIC,35,7,127,8 - LTEXT "For copying inside one disk boundary",IDC_002_STATIC,35,38,130,8 - LTEXT "For copying between two different disks",IDC_003_STATIC,35,70,132,8 - LTEXT "For copying with CD-ROM use",IDC_004_STATIC,207,7,131,8 - LTEXT "For copying with network use",IDC_005_STATIC,207,40,131,8 - ICON IDI_CD_ICON,IDC_006_STATIC,179,13,20,20,SS_REALSIZEIMAGE - ICON IDI_NET_ICON,IDC_007_STATIC,179,44,20,20,SS_REALSIZEIMAGE - ICON IDI_HDD_ICON,IDC_008_STATIC,7,43,20,20,SS_REALSIZEIMAGE - ICON IDI_HDD2_ICON,IDC_009_STATIC,7,73,20,20,SS_REALSIZEIMAGE - ICON IDI_TRIBE_ICON,IDC_010_STATIC,7,9,20,20,SS_REALSIZEIMAGE - LTEXT "Count of buffers",IDC_011_STATIC,207,70,131,8 -END - -IDD_FEEDBACK_FILE_ERROR_DIALOG DIALOGEX 0, 0, 283, 112 -STYLE DS_SYSMODAL | DS_SETFONT | DS_CENTER | DS_CONTEXTHELP | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME -CAPTION "File Error" -FONT 8, "Tahoma", 0, 0, 0x1 -BEGIN - PUSHBUTTON "&Retry",IDC_RETRY_BUTTON,7,79,64,14,0,0,HIDC_RETRY_BUTTON - PUSHBUTTON "&Skip",IDC_SKIP_BUTTON,74,79,64,14,0,0,HIDC_SKIP_BUTTON - DEFPUSHBUTTON "&Pause",IDC_PAUSE_BUTTON,141,79,64,14,0,0,HIDC_PAUSE_BUTTON - PUSHBUTTON "&Cancel",IDCANCEL,212,79,64,14,0,0,HIDCANCEL - ICON IDI_ERR_ICON,IDC_001_STATIC,15,15,20,20,SS_REALSIZEIMAGE - CONTROL "&Apply to all items",IDC_ALL_ITEMS_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,95,269,10 - LTEXT "Encountered an error while processing file.",IDC_DESC_STATIC,43,7,223,23 - LTEXT "File: c:\\test.avi\nReason: No permission to perform the operation requested.",IDC_INFO_STATIC,51,28,225,42 -END - -IDD_MINIVIEW_DIALOG DIALOGEX 0, 0, 91, 23 -STYLE DS_ABSALIGN | DS_SYSMODAL | DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION -EXSTYLE WS_EX_TOOLWINDOW -CAPTION "Status" -FONT 8, "Tahoma", 0, 0, 0x1 -BEGIN - LISTBOX IDC_PROGRESS_LIST,7,7,77,9,LBS_OWNERDRAWFIXED | LBS_NOINTEGRALHEIGHT | NOT WS_BORDER | WS_TABSTOP,0,HIDC_PROGRESS_LIST -END - -IDD_OPTIONS_DIALOG DIALOGEX 0, 0, 397, 214 -STYLE DS_SETFONT | DS_CENTER | DS_CONTEXTHELP | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME -CAPTION "Options" -FONT 8, "Tahoma", 0, 0, 0x1 -BEGIN - DEFPUSHBUTTON "&OK",IDOK,173,193,50,14,0,0,HIDOK - PUSHBUTTON "&Cancel",IDCANCEL,227,193,50,14,0,0,HIDCANCEL - LISTBOX IDC_PROPERTIES_LIST,7,7,383,179,LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP,0,HIDC_PROPERTIES_LIST - PUSHBUTTON "&Apply",IDC_APPLY_BUTTON,283,193,50,14,0,0,HIDC_APPLY_BUTTON - PUSHBUTTON "&Help",IDHELP,340,193,50,14,0,0,HIDHELP -END - -IDD_STATUS_DIALOG DIALOGEX 0, 0, 491, 302 -STYLE DS_SETFONT | DS_CONTEXTHELP | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME -EXSTYLE WS_EX_APPWINDOW -CAPTION "Status" -FONT 8, "Tahoma", 0, 0, 0x1 -BEGIN - CONTROL "List1",IDC_STATUS_LIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,7,19,223,171,0,HIDC_STATUS_LIST - PUSHBUTTON "&Pause",IDC_PAUSE_BUTTON,7,193,44,14,0,0,HIDC_PAUSE_BUTTON - PUSHBUTTON "&Restart",IDC_RESTART_BUTTON,97,193,44,14,0,0,HIDC_RESTART_BUTTON - PUSHBUTTON "&Cancel",IDC_CANCEL_BUTTON,142,193,44,14,0,0,HIDC_CANCEL_BUTTON - PUSHBUTTON "&Remove",IDC_DELETE_BUTTON,187,193,44,14,0,0,HIDC_DELETE_BUTTON - PUSHBUTTON "Pause/all",IDC_PAUSE_ALL_BUTTON,7,208,71,14,0,0,HIDC_PAUSE_ALL_BUTTON - PUSHBUTTON "Resume/all",IDC_START_ALL_BUTTON,79,208,71,14,0,0,HIDC_START_ALL_BUTTON - PUSHBUTTON "Cancel/all",IDC_CANCEL_ALL_BUTTON,7,223,71,14,0,0,HIDC_CANCEL_ALL_BUTTON - PUSHBUTTON "Remove/all",IDC_REMOVE_FINISHED_BUTTON,79,223,71,14,0,0,HIDC_REMOVE_FINISHED_BUTTON - PUSHBUTTON "Restart/all",IDC_RESTART_ALL_BUTTON,151,223,79,14,0,0,HIDC_RESTART_ALL_BUTTON - PUSHBUTTON "Advanced >",IDC_TASK_ADVANCED_BUTTON,151,208,79,14,0,0,HIDC_TASK_ADVANCED_BUTTON - PUSHBUTTON "",IDC_STICK_BUTTON,484,295,7,7,BS_CENTER | BS_VCENTER | BS_FLAT,0,HIDC_STICK_BUTTON - PUSHBUTTON "...",IDC_SET_BUFFERSIZE_BUTTON,463,71,13,14,0,0,HIDC_SET_BUFFERSIZE_BUTTON - PUSHBUTTON ">",IDC_SET_PRIORITY_BUTTON,463,85,13,14,0,0,HIDC_SET_PRIORITY_BUTTON - PUSHBUTTON "View log",IDC_SHOW_LOG_BUTTON,431,18,45,12,0,0,HIDC_SHOW_LOG_BUTTON - LTEXT "List of tasks:",IDC_TASKLIST_LABEL_STATIC,7,7,223,8 - CONTROL "Progress1",IDC_GLOBAL_PROGRESS,"msctls_progress32",0x0,71,282,153,7 - LTEXT "Progress:",IDC_GLOBALPROGRESS_LABEL_STATIC,13,281,54,8 - CONTROL "Progress2",IDC_TASKSIZE_PROGRESS,"msctls_progress32",0x0,311,282,165,6 - LTEXT "Task size:",IDC_TASKSIZE_LABEL_STATIC,247,280,62,8 - LTEXT "Destination:",IDC_DESTINATIONOBJECT_LABEL_STATIC,247,61,40,8 - LTEXT "Source:",IDC_SOURCEOBJECT_LABEL_STATIC,247,48,62,8 - LTEXT "Buffer size:",IDC_BUFFERSIZE_LABEL_STATIC,247,75,62,8 - LTEXT "Thread priority:",IDC_THREADPRIORITY_LABEL_STATIC,247,89,62,8 - LTEXT "Operation:",IDC_OPERATION_LABEL_STATIC,247,35,62,8 - LTEXT "Speed:",IDC_TASKTRANSFER_LABEL_STATIC,247,258,62,8 - LTEXT "Processed:",IDC_TASKPROCESSED_LABEL_STATIC,247,232,62,8 - LTEXT "Transfer:",IDC_GLOBALTRANSFER_LABEL_STATIC,13,268,54,8 - LTEXT "Processed:",IDC_GLOBALPROCESSED_LABEL_STATIC,13,255,54,8 - LTEXT "Time:",IDC_TASKTIME_LABEL_STATIC,247,245,62,8 - PUSHBUTTON "&Resume",IDC_RESUME_BUTTON,52,193,44,14,0,0,HIDC_RESUME_BUTTON - LTEXT "Task ID:",IDC_TASKID_LABEL_STATIC,247,21,62,8 - CONTROL "",IDC_TASKID_STATIC,"STATICEX",0x4,311,18,118,12,WS_EX_STATICEDGE,HIDC_TASKID_STATIC - CONTROL "",IDC_OPERATION_STATIC,"STATICEX",0x4,311,32,165,12,WS_EX_STATICEDGE,HIDC_OPERATION_STATIC - CONTROL "",IDC_SOURCEOBJECT_STATIC,"STATICEX",0x4,311,45,165,12,WS_EX_STATICEDGE,HIDC_SOURCEOBJECT_STATIC - CONTROL "",IDC_DESTINATIONOBJECT_STATIC,"STATICEX",0x4,311,58,165,12,WS_EX_STATICEDGE,HIDC_DESTINATIONOBJECT_STATIC - CONTROL "",IDC_TASKPROCESSED_STATIC,"STATICEX",0x4,311,230,165,12,WS_EX_STATICEDGE,HIDC_TASKPROCESSED_STATIC - CONTROL "",IDC_TASKTIME_STATIC,"STATICEX",0x4,311,243,165,12,WS_EX_STATICEDGE,HIDC_TASKTIME_STATIC - CONTROL "",IDC_TASKTRANSFER_STATIC,"STATICEX",0x4,311,256,165,12,WS_EX_STATICEDGE,HIDC_TASKTRANSFER_STATIC - CONTROL "",IDC_GLOBALPROCESSED_STATIC,"STATICEX",0x4,71,253,153,12,WS_EX_STATICEDGE,HIDC_GLOBALPROCESSED_STATIC - CONTROL "",IDC_GLOBALTRANSFER_STATIC,"STATICEX",0x4,71,266,153,12,WS_EX_STATICEDGE,HIDC_GLOBALTRANSFER_STATIC - CONTROL "",IDC_BUFFERSIZE_STATIC,"STATICEX",0x4,311,72,151,12,WS_EX_STATICEDGE,HIDC_BUFFERSIZE_STATIC - CONTROL "",IDC_THREADPRIORITY_STATIC,"STATICEX",0x4,311,86,151,12,WS_EX_STATICEDGE,HIDC_THREADPRIORITY_STATIC - CONTROL "",IDC_SUBTASKCOUNT_PROGRESS,"msctls_progress32",0x0,311,189,165,6 - LTEXT "Count of objects:",IDC_SUBTASKCOUNT_LABEL_STATIC,247,187,62,8 - CONTROL "",IDC_SUBTASKSIZE_PROGRESS,"msctls_progress32",0x0,311,199,165,6 - LTEXT "Size of objects:",IDC_SUBTASKSIZE_LABEL_STATIC,247,197,62,8 - LTEXT "Processed:",IDC_SUBTASKPROCESSED_LABEL_STATIC,247,139,62,8 - CONTROL "",IDC_SUBTASKPROCESSED_STATIC,"STATICEX",0x4,311,136,165,12,WS_EX_STATICEDGE,HIDC_SUBTASKPROCESSED_STATIC - LTEXT "Time:",IDC_SUBTASKTIME_LABEL_STATIC,247,152,62,8 - CONTROL "",IDC_SUBTASKTIME_STATIC,"STATICEX",0x4,311,149,165,12,WS_EX_STATICEDGE,HIDC_SUBTASKTIME_STATIC - CONTROL "",IDC_TASKCOUNT_PROGRESS,"msctls_progress32",0x0,311,272,165,6 - LTEXT "Task count:",IDC_TASKCOUNT_LABEL_STATIC,247,270,62,8 - LTEXT "Speed:",IDC_SUBTASKTRANSFER_LABEL_STATIC,247,165,62,8 - CONTROL "",IDC_SUBTASKTRANSFER_STATIC,"STATICEX",0x4,311,162,165,12,WS_EX_STATICEDGE,HIDC_SUBTASKTRANSFER_STATIC - LTEXT "Current phase:",IDC_SUBTASKNAME_LABEL_STATIC,247,125,62,8 - CONTROL "",IDC_SUBTASKNAME_STATIC,"STATICEX",0x4,311,122,165,12,WS_EX_STATICEDGE,HIDC_SUBTASKNAME_STATIC - CONTROL "",IDC_CURRENTOBJECT_PROGRESS,"msctls_progress32",0x0,311,179,165,6 - LTEXT "Current object:",IDC_CURRENTOBJECT_LABEL_STATIC,247,177,62,8 - GROUPBOX "Task information",IDC_TASKINFORMATION_GROUP_STATIC,238,7,246,98,0,WS_EX_TRANSPARENT - GROUPBOX "Current phase statistics",IDC_CURRENTPHASE_GROUP_STATIC,238,110,246,102,0,WS_EX_TRANSPARENT - GROUPBOX "Entire task statistics",IDC_ENTIRETASK_GROUP_STATIC,238,218,246,77,0,WS_EX_TRANSPARENT - GROUPBOX "Global statistics",IDC_GLOBAL_GROUP_STATIC,7,242,223,53,0,WS_EX_TRANSPARENT -END - -IDD_FEEDBACK_NOTENOUGHSPACE_DIALOG DIALOGEX 0, 0, 255, 147 -STYLE DS_SYSMODAL | DS_SETFONT | DS_CENTER | DS_CONTEXTHELP | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME -CAPTION "Not enough free space" -FONT 8, "Tahoma", 0, 0, 0x1 -BEGIN - PUSHBUTTON "&Retry",IDC_RETRY_BUTTON,78,113,57,14,0,0,HIDC_RETRY_BUTTON - PUSHBUTTON "C&ontinue",IDC_IGNORE_BUTTON,136,113,57,14,0,0,HIDC_IGNORE_BUTTON - PUSHBUTTON "&Cancel",IDCANCEL,198,113,50,14,0,0,HIDCANCEL - LISTBOX IDC_FILES_LIST,42,35,206,44,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP,0,HIDC_FILES_LIST - LTEXT "",IDC_REQUIRED_STATIC,109,85,139,8,0,0,HIDC_REQUIRED_STATIC - LTEXT "",IDC_AVAILABLE_STATIC,109,97,139,8,0,0,HIDC_AVAILABLE_STATIC - ICON IDI_WARNING_ICON,IDC_001_STATIC,9,11,20,20,SS_REALSIZEIMAGE - LTEXT "Required space:",IDC_003_STATIC,41,85,59,8 - LTEXT "Space available:",IDC_004_STATIC,41,97,59,8 - LTEXT "",IDC_HEADER_STATIC,42,7,206,24 - CONTROL "&Do not ask anymore",IDC_ALL_ITEMS_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,130,241,10 -END - -IDD_SHUTDOWN_DIALOG DIALOGEX 0, 0, 186, 86 -STYLE DS_SYSMODAL | DS_SETFONT | DS_MODALFRAME | DS_CENTER | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -CAPTION "Copy handler" -FONT 8, "Tahoma", 0, 0, 0x1 -BEGIN - DEFPUSHBUTTON "&Cancel",IDCANCEL,67,65,50,14,0,0,HIDCANCEL - ICON IDI_SHUTDOWN_ICON,IDC_001_STATIC,7,10,20,20,SS_REALSIZEIMAGE - LTEXT "All copy/move operations were finished. Attempt to shut down the system will be performed in:",IDC_002_STATIC,37,7,142,24 - CTEXT "",IDC_TIME_STATIC,7,35,172,8 - CONTROL "Progress1",IDC_TIME_PROGRESS,"msctls_progress32",PBS_SMOOTH,7,48,172,9 -END - -IDD_CUSTOM_COPY_DIALOG DIALOGEX 0, 0, 351, 318 -STYLE DS_SETFONT | DS_CENTER | DS_CONTEXTHELP | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME -EXSTYLE WS_EX_APPWINDOW -CAPTION "Copying/moving parameters" -FONT 8, "Tahoma", 0, 0, 0x1 -BEGIN - CONTROL "List1",IDC_FILES_LIST,"SysListView32",LVS_REPORT | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS | LVS_NOCOLUMNHEADER | WS_BORDER | WS_TABSTOP,7,16,279,57,WS_EX_ACCEPTFILES,HIDC_FILES_LIST - PUSHBUTTON "Add &file(s)...",IDC_ADDFILE_BUTTON,291,15,53,14,0,0,HIDC_ADDFILE_BUTTON - PUSHBUTTON "Add f&older...",IDC_ADDDIR_BUTTON,291,30,53,14,0,0,HIDC_ADDDIR_BUTTON - PUSHBUTTON "&Delete",IDC_REMOVEFILEFOLDER_BUTTON,291,45,53,14,0,0,HIDC_REMOVEFILEFOLDER_BUTTON - PUSHBUTTON "&Import...",IDC_IMPORT_BUTTON,291,60,53,14,0,0,HIDC_IMPORT_BUTTON - CONTROL "",IDC_DESTPATH_COMBOBOXEX,"ComboBoxEx32",CBS_DROPDOWN | CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP,7,86,314,136,WS_EX_ACCEPTFILES,HIDC_DESTPATH_COMBOBOXEX - PUSHBUTTON "...",IDC_DESTBROWSE_BUTTON,326,85,18,14,0,0,HIDC_DESTBROWSE_BUTTON - COMBOBOX IDC_OPERATION_COMBO,13,124,159,143,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_OPERATION_COMBO - COMBOBOX IDC_PRIORITY_COMBO,181,124,159,75,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_PRIORITY_COMBO - LISTBOX IDC_BUFFERSIZES_LIST,13,152,275,20,LBS_NOINTEGRALHEIGHT | LBS_MULTICOLUMN | LBS_NOSEL | WS_VSCROLL | WS_TABSTOP,0,HIDC_BUFFERSIZES_LIST - PUSHBUTTON "&Change...",IDC_BUFFERSIZES_BUTTON,294,152,50,14,0,0,HIDC_BUFFERSIZES_BUTTON - CONTROL "Filtering",IDC_FILTERS_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,177,61,10,0,HIDC_FILTERS_CHECK - CONTROL "List2",IDC_FILTERS_LIST,"SysListView32",LVS_REPORT | WS_BORDER | WS_TABSTOP,13,190,303,46,0,HIDC_FILTERS_LIST - PUSHBUTTON "+",IDC_ADDFILTER_BUTTON,322,190,22,14,0,0,HIDC_ADDFILTER_BUTTON - PUSHBUTTON "-",IDC_REMOVEFILTER_BUTTON,322,206,22,14,0,0,HIDC_REMOVEFILTER_BUTTON - CONTROL "Advanced options",IDC_ADVANCED_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,242,84,10,0,HIDC_ADVANCED_CHECK - CONTROL "Do not create destination directories - copy files loosely to destination folder",IDC_IGNOREFOLDERS_CHECK, - "Button",BS_AUTOCHECKBOX | BS_NOTIFY | WS_TABSTOP,13,255,329,10,0,HIDC_IGNOREFOLDERS_CHECK - CONTROL "Do not copy/move contents of files - only create it (empty)",IDC_ONLYSTRUCTURE_CHECK, - "Button",BS_AUTOCHECKBOX | BS_NOTIFY | WS_TABSTOP,13,277,329,10,0,HIDC_ONLYSTRUCTURE_CHECK - PUSHBUTTON "&OK",IDOK,186,297,50,14,0,0,HIDOK - PUSHBUTTON "&Cancel",IDCANCEL,239,297,50,14,0,0,HIDCANCEL - LTEXT "Source files/folders:",IDC_001_STATIC,7,7,337,8 - LTEXT "Destination folder:",IDC_002_STATIC,7,76,337,8 - LTEXT "Operation type:",IDC_003_STATIC,13,115,117,8 - LTEXT "Priority:",IDC_004_STATIC,181,115,120,8 - LTEXT "Buffer sizes:",IDC_006_STATIC,13,142,244,8 - CONTROL "",IDC_BAR3_STATIC,"Static",SS_ETCHEDHORZ,76,181,268,1 - CONTROL "",IDC_BAR4_STATIC,"Static",SS_ETCHEDHORZ,98,247,246,1 - CONTROL "",IDC_BAR5_STATIC,"Static",SS_ETCHEDHORZ,7,291,337,1 - CONTROL "",IDC_BAR2_STATIC,"Static",SS_ETCHEDHORZ,107,107,237,1 - CTEXT "Standard options",IDC_007_STATIC,20,104,80,8 - CONTROL "",IDC_BAR1_STATIC,"Static",SS_ETCHEDHORZ,7,107,8,1 - CONTROL "Create directory structure in destination folder (relatively to root directory)",IDC_FORCEDIRECTORIES_CHECK, - "Button",BS_AUTOCHECKBOX | BS_NOTIFY | WS_TABSTOP,13,266,329,10,0,HIDC_FORCEDIRECTORIES_CHECK - PUSHBUTTON "&Help",IDC_HELP_BUTTON,294,297,50,14,0,0,HIDC_HELP_BUTTON - PUSHBUTTON "&Export...",IDC_EXPORT_BUTTON,7,297,50,14 -END - -IDD_FILTER_DIALOG DIALOGEX 0, 0, 291, 266 -STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -CAPTION "Filtering settings" -FONT 8, "Tahoma", 0, 0, 0x1 -BEGIN - CONTROL "Include mask (separate by vertical lines ie. *.jpg|*.gif)",IDC_FILTER_CHECK, - "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,7,277,10,0,HIDC_FILTER_CHECK - COMBOBOX IDC_FILTER_COMBO,15,19,269,98,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP,0,HIDC_FILTER_COMBO - CONTROL "Exclude mask",IDC_EXCLUDEMASK_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,35,277,10,0,HIDC_EXCLUDEMASK_CHECK - COMBOBOX IDC_FILTEREXCLUDE_COMBO,15,48,269,170,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP,0,HIDC_FILTEREXCLUDE_COMBO - CONTROL "Filtering by size",IDC_SIZE_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,66,277,10,0,HIDC_SIZE_CHECK - COMBOBOX IDC_SIZETYPE1_COMBO,63,81,34,140,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_SIZETYPE1_COMBO - EDITTEXT IDC_SIZE1_EDIT,100,80,77,14,ES_AUTOHSCROLL,0,HIDC_SIZE1_EDIT - CONTROL "Spin1",IDC_SIZE1_SPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,166,80,11,14,0,HIDC_SIZE1_SPIN - COMBOBOX IDC_SIZE1MULTI_COMBO,180,81,34,135,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_SIZE1MULTI_COMBO - CONTROL "and",IDC_SIZE2_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,30,101,32,10,0,HIDC_SIZE2_CHECK - COMBOBOX IDC_SIZETYPE2_COMBO,63,99,34,137,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_SIZETYPE2_COMBO - EDITTEXT IDC_SIZE2_EDIT,100,98,77,14,ES_AUTOHSCROLL,0,HIDC_SIZE2_EDIT - CONTROL "Spin1",IDC_SIZE2_SPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,166,98,11,14,0,HIDC_SIZE2_SPIN - COMBOBOX IDC_SIZE2MULTI_COMBO,180,99,34,143,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_SIZE2MULTI_COMBO - CONTROL "Filtering by date",IDC_DATE_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,124,277,10,0,HIDC_DATE_CHECK - COMBOBOX IDC_DATETYPE_COMBO,32,138,151,133,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_DATETYPE_COMBO - COMBOBOX IDC_DATE1TYPE_COMBO,58,158,48,104,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_DATE1TYPE_COMBO - CONTROL "DateTimePicker1",IDC_DATE1_DATETIMEPICKER, - "SysDateTimePick32",DTS_RIGHTALIGN | DTS_UPDOWN | DTS_SHOWNONE | WS_TABSTOP,108,157,109,15,0,HIDC_DATE1_DATETIMEPICKER - CONTROL "DateTimePicker2",IDC_TIME1_DATETIMEPICKER, - "SysDateTimePick32",DTS_RIGHTALIGN | DTS_UPDOWN | DTS_SHOWNONE | WS_TABSTOP | 0x8,220,157,64,15,0,HIDC_TIME1_DATETIMEPICKER - CONTROL "and",IDC_DATE2_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,25,176,30,10,0,HIDC_DATE2_CHECK - COMBOBOX IDC_DATE2TYPE_COMBO,58,174,48,107,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_DATE2TYPE_COMBO - CONTROL "DateTimePicker1",IDC_DATE2_DATETIMEPICKER, - "SysDateTimePick32",DTS_RIGHTALIGN | DTS_UPDOWN | DTS_SHOWNONE | WS_TABSTOP,108,173,109,15,0,HIDC_DATE2_DATETIMEPICKER - CONTROL "DateTimePicker2",IDC_TIME2_DATETIMEPICKER, - "SysDateTimePick32",DTS_RIGHTALIGN | DTS_UPDOWN | DTS_SHOWNONE | WS_TABSTOP | 0x8,220,173,64,15,0,HIDC_TIME2_DATETIMEPICKER - CONTROL "By attributes",IDC_ATTRIBUTES_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,199,277,10,0,HIDC_ATTRIBUTES_CHECK - CONTROL "Archive",IDC_ARCHIVE_CHECK,"Button",BS_AUTO3STATE | WS_TABSTOP,29,212,81,10,0,HIDC_ARCHIVE_CHECK - CONTROL "Read only",IDC_READONLY_CHECK,"Button",BS_AUTO3STATE | WS_TABSTOP,29,224,81,10,0,HIDC_READONLY_CHECK - CONTROL "Hidden",IDC_HIDDEN_CHECK,"Button",BS_AUTO3STATE | WS_TABSTOP,117,212,68,10,0,HIDC_HIDDEN_CHECK - CONTROL "System",IDC_SYSTEM_CHECK,"Button",BS_AUTO3STATE | WS_TABSTOP,117,224,68,10,0,HIDC_SYSTEM_CHECK - CONTROL "Directory",IDC_DIRECTORY_CHECK,"Button",BS_AUTO3STATE | NOT WS_VISIBLE | WS_DISABLED | WS_TABSTOP,191,212,93,10,0,HIDC_DIRECTORY_CHECK - DEFPUSHBUTTON "&OK",IDOK,127,245,50,14,0,0,HIDOK - PUSHBUTTON "&Cancel",IDCANCEL,179,245,50,14,0,0,HIDCANCEL - CONTROL "",IDC_001_STATIC,"Static",SS_ETCHEDHORZ,7,238,276,1 - PUSHBUTTON "&Help",IDC_HELP_BUTTON,234,245,50,14,0,0,HIDC_HELP_BUTTON -END - -IDD_SHORTCUTEDIT_DIALOG DIALOGEX 0, 0, 325, 206 -STYLE DS_SETFONT | DS_CENTER | DS_CONTEXTHELP | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_THICKFRAME -CAPTION "Shortcuts editing" -FONT 8, "Tahoma", 0, 0, 0x1 -BEGIN - CONTROL "List1",IDC_SHORTCUT_LIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS | LVS_AUTOARRANGE | LVS_EDITLABELS | WS_BORDER | WS_TABSTOP,7,16,261,88,0,HIDC_SHORTCUT_LIST - EDITTEXT IDC_NAME_EDIT,77,123,228,14,ES_AUTOHSCROLL,0,HIDC_NAME_EDIT - CONTROL "",IDC_PATH_COMBOBOXEX,"ComboBoxEx32",CBS_DROPDOWN | CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP,77,142,205,89,0,HIDC_PATH_COMBOBOXEX - PUSHBUTTON "...",IDC_BROWSE_BUTTON,286,142,18,13,0,0,HIDC_BROWSE_BUTTON - PUSHBUTTON "&Add",IDC_ADD_BUTTON,17,160,50,14,0,0,HIDC_ADD_BUTTON - PUSHBUTTON "&Update",IDC_CHANGE_BUTTON,69,160,50,14,0,0,HIDC_CHANGE_BUTTON - PUSHBUTTON "&Delete",IDC_DELETE_BUTTON,121,160,50,14,0,0,HIDC_DELETE_BUTTON - DEFPUSHBUTTON "&OK",IDOK,156,185,50,14,0,0,HIDOK - PUSHBUTTON "&Cancel",IDCANCEL,211,185,50,14,0,0,HIDCANCEL - LTEXT "Shortcuts:",IDC_001_STATIC,7,7,311,8 - LTEXT "Name:",IDC_002_STATIC,18,126,53,8 - LTEXT "Path:",IDC_003_STATIC,18,145,56,8 - GROUPBOX "Shortcut properties",IDC_004_STATIC,7,111,311,70 - PUSHBUTTON "Move up",IDC_UP_BUTTON,273,47,45,14,0,0,HIDC_UP_BUTTON - PUSHBUTTON "Move down",IDC_DOWN_BUTTON,273,63,45,14,0,0,HIDC_DOWN_BUTTON - PUSHBUTTON "&Help",IDC_HELP_BUTTON,268,185,50,14,0,0,HIDC_HELP_BUTTON -END - -IDD_RECENTEDIT_DIALOG DIALOGEX 0, 0, 325, 190 -STYLE DS_SETFONT | DS_CENTER | DS_CONTEXTHELP | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_THICKFRAME -CAPTION "Recent paths" -FONT 8, "Tahoma", 0, 0, 0x1 -BEGIN - CONTROL "List1",IDC_RECENT_LIST,"SysListView32",LVS_LIST | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS | LVS_AUTOARRANGE | LVS_EDITLABELS | WS_BORDER | WS_TABSTOP,7,16,311,88,0,HIDC_RECENT_LIST - EDITTEXT IDC_PATH_EDIT,20,123,266,14,ES_AUTOHSCROLL,0,HIDC_PATH_EDIT - PUSHBUTTON "...",IDC_BROWSE_BUTTON,290,123,18,14,0,0,HIDC_BROWSE_BUTTON - PUSHBUTTON "&Add",IDC_ADD_BUTTON,20,141,50,14,0,0,HIDC_ADD_BUTTON - PUSHBUTTON "&Update",IDC_CHANGE_BUTTON,72,141,50,14,0,0,HIDC_CHANGE_BUTTON - PUSHBUTTON "&Delete",IDC_DELETE_BUTTON,124,141,50,14,0,0,HIDC_DELETE_BUTTON - DEFPUSHBUTTON "&OK",IDOK,156,169,50,14,0,0,HIDOK - PUSHBUTTON "&Cancel",IDCANCEL,211,169,50,14,0,0,HIDCANCEL - LTEXT "Recently used paths:",IDC_001_STATIC,7,7,311,8 - GROUPBOX "Path",IDC_002_STATIC,7,110,311,51 - PUSHBUTTON "&Help",IDC_HELP_BUTTON,268,169,50,14,0,0,HIDC_HELP_BUTTON -END - -IDD_ABOUTBOX DIALOGEX 0, 0, 369, 164 -STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -CAPTION "About ..." -FONT 8, "Tahoma", 0, 0, 0x1 -BEGIN - DEFPUSHBUTTON "&OK",IDOK,306,143,56,14,WS_GROUP,0,HIDOK - ICON IDR_MAINFRAME,IDC_STATIC,11,14,20,20 - CTEXT "",IDC_COPYRIGHT_STATIC,40,93,322,8 - CONTROL "",IDC_HOMEPAGELINK_STATIC,"STATICEX",0x1,208,32,154,8 - CONTROL "",IDC_CONTACT1LINK_STATIC,"STATICEX",0x1,208,59,154,8 - CONTROL "",IDC_PROGRAM_STATICEX,"STATICEX",0x30,39,7,323,10 - CONTROL "",IDC_FULLVERSION_STATICEX,"STATICEX",0x10,39,20,133,8 - CONTROL "Home page:",IDC_HOMEPAGE_STATICEX,"STATICEX",0x10,185,20,68,8 - CONTROL "Contact:",IDC_CONTACT_STATICEX,"STATICEX",0x10,185,47,68,8 - CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,39,105,323,1 - CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,39,133,323,1 - CONTROL "This program is free software and may be distributed according to the terms of the GNU General Public License version 2.",IDC_LICENSE_STATICEX, - "STATICEX",0x90,46,111,310,16 - CTEXT "",IDC_LANGUAGE_STATIC,40,78,322,8 -END - -IDD_CRASH_DIALOG DIALOGEX 0, 0, 316, 138 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Application crashed" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - LTEXT "",IDC_STATIC_INFO,7,7,302,33 - PUSHBUTTON "",IDOK,207,117,102,14 - LTEXT "",IDC_VERSIONINFO_STATIC,20,49,83,8 - LTEXT "",IDC_LOCATIONINFO_STATIC,20,65,83,8 - LTEXT "",IDC_VERSION_STATIC,119,49,190,8 - EDITTEXT IDC_LOCATION_EDIT,119,65,190,46,ES_MULTILINE | ES_READONLY | NOT WS_BORDER -END - -IDD_UPDATER_DIALOG DIALOGEX 0, 0, 305, 147 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Copy Handler Update Information" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "&Close",IDOK,248,126,50,14 - PUSHBUTTON "&Download latest version...",IDC_OPEN_WEBPAGE_BUTTON,130,126,112,14 - COMBOBOX IDC_UPDATECHANNEL_COMBO,159,101,139,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP - LTEXT "Update channel:",IDC_UPDATECHANNEL_STATIC,160,89,138,8 - LTEXT "Check for updates:",IDC_CHECKFORUPDATESFREQ_STATIC,7,89,142,8 - COMBOBOX IDC_UPDATESFREQ_COMBO,7,101,142,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP - CONTROL "",IDC_CHANGELOG_RICHEDIT,"RichEdit20W",ES_MULTILINE | ES_READONLY | ES_NUMBER | WS_VSCROLL | WS_TABSTOP,51,25,247,56 - ICON "",IDC_ICON_STATIC,15,15,20,20 - CONTROL "Custom1",IDC_MAINUPDATEINFO_CUSTOM,"STATICEX",0x30,47,7,251,14 -END - -IDD_FEEDBACK_REPLACE_DIALOG DIALOGEX 0, 0, 319, 186 -STYLE DS_SETFONT | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME -CAPTION "File already exists" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - PUSHBUTTON "&Replace",IDC_REPLACE_BUTTON,8,148,60,14 - PUSHBUTTON "&Append",IDC_COPY_REST_BUTTON,69,148,60,14 - PUSHBUTTON "&Skip",IDC_SKIP_BUTTON,130,148,60,14 - PUSHBUTTON "&Pause",IDC_PAUSE_BUTTON,191,148,60,14 - PUSHBUTTON "&Cancel",IDC_CANCEL_BUTTON,252,148,60,14 - CONTROL "&Apply to all items",IDC_ALL_ITEMS_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,169,305,10 - EDITTEXT IDC_SRC_FILENAME_EDIT,54,31,251,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER - EDITTEXT IDC_SRC_PATH_EDIT,54,42,251,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER - EDITTEXT IDC_SRC_FILESIZE_EDIT,54,53,251,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER - EDITTEXT IDC_SRC_MODIFIEDDATE_EDIT,54,64,251,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER - EDITTEXT IDC_DST_FILENAME_EDIT,54,94,251,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER - EDITTEXT IDC_DST_PATH_EDIT,54,105,251,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER - EDITTEXT IDC_DST_FILESIZE_EDIT,54,116,251,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER - EDITTEXT IDC_DST_MODIFIEDDATE_EDIT,54,127,251,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER - LTEXT "File you are trying to copy already exists. What do you want to do?",IDC_INFO_STATIC,7,7,305,15 - ICON "",IDC_SRC_ICON_STATIC,20,38,20,20 - ICON "",IDC_DST_ICON_STATIC,20,102,20,20 - GROUPBOX "Source file",IDC_SRCFILE_STATIC,7,20,305,58 - GROUPBOX "Destination file",IDC_DSTFILE_STATIC,7,83,305,58 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_MSGBOX_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 170 - TOPMARGIN, 7 - BOTTOMMARGIN, 63 - END - - IDD_BUFFERSIZE_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 338 - TOPMARGIN, 7 - BOTTOMMARGIN, 128 - END - - IDD_FEEDBACK_FILE_ERROR_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 276 - TOPMARGIN, 7 - BOTTOMMARGIN, 105 - END - - IDD_MINIVIEW_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 84 - TOPMARGIN, 7 - BOTTOMMARGIN, 16 - END - - IDD_OPTIONS_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 390 - TOPMARGIN, 7 - BOTTOMMARGIN, 207 - END - - IDD_STATUS_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 484 - TOPMARGIN, 7 - BOTTOMMARGIN, 295 - END - - IDD_FEEDBACK_NOTENOUGHSPACE_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 248 - TOPMARGIN, 7 - BOTTOMMARGIN, 140 - END - - IDD_SHUTDOWN_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 179 - TOPMARGIN, 7 - BOTTOMMARGIN, 79 - END - - IDD_CUSTOM_COPY_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 344 - TOPMARGIN, 7 - BOTTOMMARGIN, 311 - END - - IDD_FILTER_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 284 - TOPMARGIN, 7 - BOTTOMMARGIN, 259 - END - - IDD_SHORTCUTEDIT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 318 - TOPMARGIN, 7 - BOTTOMMARGIN, 199 - END - - IDD_RECENTEDIT_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 318 - TOPMARGIN, 7 - BOTTOMMARGIN, 183 - END - - IDD_ABOUTBOX, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 362 - TOPMARGIN, 7 - BOTTOMMARGIN, 157 - END - - IDD_CRASH_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 309 - TOPMARGIN, 7 - BOTTOMMARGIN, 131 - END - - IDD_UPDATER_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 298 - TOPMARGIN, 7 - BOTTOMMARGIN, 140 - END - - IDD_FEEDBACK_REPLACE_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 312 - TOPMARGIN, 7 - BOTTOMMARGIN, 179 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON "res\\ch.ico" - -IDI_ERROR_ICON ICON "res\\error.ico" - -IDI_WORKING_ICON ICON "res\\working.ico" - -IDI_PAUSED_ICON ICON "res\\paused.ico" - -IDI_FINISHED_ICON ICON "res\\finished.ico" - -IDI_CANCELLED_ICON ICON "res\\cancelled.ico" - -IDI_WAITING_ICON ICON "res\\waiting.ico" - -IDI_QUESTION_ICON ICON "res\\question.ico" - -IDI_INFO_ICON ICON "res\\info.ico" - -IDI_ERR_ICON ICON "res\\err.ico" - -IDI_WARNING_ICON ICON "res\\warning.ico" - -IDI_SHUTDOWN_ICON ICON "res\\shut.ico" - -IDI_NET_ICON ICON "res\\net.ico" - -IDI_HDD_ICON ICON "res\\hd.ico" - -IDI_CD_ICON ICON "res\\cd.ico" - -IDI_HDD2_ICON ICON "res\\HD2.ICO" - -IDI_TRIBE_ICON ICON "res\\tribe.ico" - -IDI_FOLDER_ICON ICON "res\\folder.ico" - -IDI_ADDSHORTCUT_ICON ICON "res\\addshort.ico" - -IDI_DELETESHORTCUT_ICON ICON "res\\delshort.ico" - -IDI_LARGEICONS_ICON ICON "res\\large.ico" - -IDI_LIST_ICON ICON "res\\list.ico" - -IDI_NEWFOLDER_ICON ICON "res\\newdir.ico" - -IDI_REPORT_ICON ICON "res\\report.ico" - -IDI_SMALLICONS_ICON ICON "res\\small.ico" - - -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -IDR_POPUP_MENU MENU -BEGIN - POPUP "POPUP" - BEGIN - MENUITEM "Show status...", ID_POPUP_SHOW_STATUS - MENUITEM "Show mini-status...", ID_SHOW_MINI_VIEW - MENUITEM "Enter copy parameters...", ID_POPUP_CUSTOM_COPY - MENUITEM SEPARATOR - MENUITEM "Monitor clipboard", ID_POPUP_MONITORING, CHECKED - MENUITEM "Shutdown after finished", ID_POPUP_SHUTAFTERFINISHED, CHECKED - MENUITEM SEPARATOR - POPUP "&Tools|ID_POPUP_TOOLS" - BEGIN - MENUITEM "&Check for updates...", ID_POPUP_CHECKFORUPDATES - MENUITEM SEPARATOR - MENUITEM "&Enable integration with system", ID_POPUP_REGISTERDLL - MENUITEM "&Disable integration with system", ID_POPUP_UNREGISTERDLL - END - MENUITEM SEPARATOR - MENUITEM "&Options...", ID_POPUP_OPTIONS - MENUITEM "&Help...", ID_POPUP_HELP - MENUITEM "About...", ID_APP_ABOUT - MENUITEM SEPARATOR - MENUITEM "Exit", ID_APP_EXIT - END -END - -IDR_PRIORITY_MENU MENU -BEGIN - POPUP "_POPUP_" - BEGIN - MENUITEM "Time critical", ID_POPUP_TIME_CRITICAL - MENUITEM "Highest", ID_POPUP_HIGHEST - MENUITEM "Above normal", ID_POPUP_ABOVE_NORMAL - MENUITEM "Normal", ID_POPUP_NORMAL - MENUITEM "Below normal", ID_POPUP_BELOW_NORMAL - MENUITEM "Lowest", ID_POPUP_LOWEST - MENUITEM "Idle", ID_POPUP_IDLE - END -END - -IDR_TASK_ADVANCED_MENU MENU -BEGIN - POPUP "_POPUP_" - BEGIN - MENUITEM "Reset 'apply to all' status", ID_POPUP_RESET_APPLY_TO_ALL - END -END - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#define _USING_V110_SDK71_ 1\r\n" - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "#if defined(_WIN32) || defined(_WIN64)\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#endif\r\n" - "#include ""res\\ch.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// AFX_DIALOG_LAYOUT -// - -IDD_STATUS_DIALOG AFX_DIALOG_LAYOUT -BEGIN - 0 -END - -IDD_UPDATER_DIALOG AFX_DIALOG_LAYOUT -BEGIN - 0 -END - -IDD_FEEDBACK_REPLACE_DIALOG AFX_DIALOG_LAYOUT -BEGIN - 0 -END - -IDD_CUSTOM_COPY_DIALOG AFX_DIALOG_LAYOUT -BEGIN - 0 -END - -IDD_MSGBOX_DIALOG AFX_DIALOG_LAYOUT -BEGIN - 0 -END - -IDD_ABOUTBOX AFX_DIALOG_LAYOUT -BEGIN - 0 -END - -IDD_BUFFERSIZE_DIALOG AFX_DIALOG_LAYOUT -BEGIN - 0 -END - -IDD_CRASH_DIALOG AFX_DIALOG_LAYOUT -BEGIN - 0 -END - -IDD_FEEDBACK_FILE_ERROR_DIALOG AFX_DIALOG_LAYOUT -BEGIN - 0 -END - -IDD_FEEDBACK_NOTENOUGHSPACE_DIALOG AFX_DIALOG_LAYOUT -BEGIN - 0 -END - -IDD_FILTER_DIALOG AFX_DIALOG_LAYOUT -BEGIN - 0 -END - -IDD_OPTIONS_DIALOG AFX_DIALOG_LAYOUT -BEGIN - 0 -END - -IDD_RECENTEDIT_DIALOG AFX_DIALOG_LAYOUT -BEGIN - 0 -END - -IDD_SHORTCUTEDIT_DIALOG AFX_DIALOG_LAYOUT -BEGIN - 0 -END - -IDD_SHUTDOWN_DIALOG AFX_DIALOG_LAYOUT -BEGIN - 0 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_ONECOPY_STRING "Cannot run the second instance of this program" - IDS_REGISTEROK_STRING "Integration with system enabled successfully." - IDS_REGISTERERR_STRING "Failed to enable integration with system." - IDS_UNREGISTEROK_STRING "Integration with system disabled successfully." - IDS_UNREGISTERERR_STRING "Failed to disable integration with system." - IDS_CRASH_STRING "Copy Handler encountered an internal problem and will be closed.\n\nIf you want to help correct this problem in the future releases of program you can send the crash information to the author of this program." - IDS_COMMAND_LINE_FAILED_STRING - "Cannot process command line arguments passed to Copy Handler." - IDS_REGISTERED_ONLYNATIVE - "Successfully enabled 64bit integration.\nFailed to enable 32bit integration." - IDS_REGISTERED_ONLY32BIT - "Failed to enable 64bit integration.\nSuccessfully enabled 32bit integration." -END - -STRINGTABLE -BEGIN - IDS_BROWSE_STRING "Choose path" - IDS_BDREMOTENAME_STRING "Remote name: " - IDS_BDLOCALNAME_STRING "Local name: " - IDS_BDTYPE_STRING "Type: " - IDS_BDNETTYPE_STRING "Network type: " - IDS_BDDESCRIPTION_STRING "Description: " - IDS_BDFREESPACE_STRING "Free space: " - IDS_BDCAPACITY_STRING "Capacity: " -END - -STRINGTABLE -BEGIN - IDS_FILEDLGALLFILTER_STRING "All files (*)|*||" - IDS_DSTFOLDERBROWSE_STRING "Choose destination folder" - IDS_MISSINGDATA_STRING "You didn't fill destination path or source file.\nProgram cannot continue" - IDS_CCDCOPY_STRING "Copy" - IDS_CCDMOVE_STRING "Move" - IDS_BSEDEFAULT_STRING "Default: %size" - IDS_BSEONEDISK_STRING "One Disk: %size" - IDS_BSETWODISKS_STRING "Two disks: %size" -END - -STRINGTABLE -BEGIN - IDS_APPNAME_STRING "Copy Handler" - IDS_PRIORITY0_STRING "Time critical" - IDS_PRIORITY1_STRING "Highest" - IDS_PRIORITY2_STRING "Above normal" - IDS_PRIORITY3_STRING "Normal" - IDS_PRIORITY4_STRING "Below normal" - IDS_PRIORITY5_STRING "Lowest" - IDS_PRIORITY6_STRING "Idle" -END - -STRINGTABLE -BEGIN - IDS_MINIVIEWALL_STRING "All:" -END - -STRINGTABLE -BEGIN - IDS_PROGRAM_STRING "Program" - IDS_CLIPBOARDMONITORING_STRING "Clipboard monitoring" - IDS_CLIPBOARDINTERVAL_STRING "Scan clipboard every ... [ms]" - IDS_AUTORUNPROGRAM_STRING "Run program with system" - IDS_AUTOSHUTDOWN_STRING "Shutdown system after copying finishes" - IDS_AUTOSAVEINTERVAL_STRING "Autosave every ... [ms]" - IDS_TEMPFOLDER_STRING "Folder for temporary data" - IDS_STATUSWINDOW_STRING "Status window" - IDS_REFRESHSTATUSINTERVAL_STRING "Refresh status every ... [ms]" - IDS_STATUSSHOWDETAILS_STRING "Show details in status window" - IDS_STATUSAUTOREMOVE_STRING "Automatically remove finished tasks" - IDS_MINIVIEW_STRING "Miniview" - IDS_SHOWFILENAMES_STRING "Show file names" - IDS_SHOWSINGLETASKS_STRING "Show single tasks" - IDS_MINIVIEWREFRESHINTERVAL_STRING "Refresh status every ... [ms]" - IDS_MINIVIEWSHOWAFTERSTART_STRING "Show at program startup" -END - -STRINGTABLE -BEGIN - IDS_CFGSHSHOWICONS_STRING "Show icons with shortcuts" - IDS_CFGSHINTERCEPTDRAG_STRING "Intercept drag&drop operations" - IDS_CFGSHORTCUTS_STRING "Shortcuts" - IDS_CFGRECENT_STRING "Recently used paths" - IDS_CFGSHELL_STRING "Shell" - IDS_CFGSCCOUNT_STRING "Defined shortcuts' count" - IDS_CFGRPCOUNT_STRING "Count of recent paths" - IDS_CFGINTERCEPTKEYACTION_STRING "Intercept shell keyboard actions" - IDS_CFGPRIORITYCLASS_STRING "Application's priority class" - IDS_CFGDISABLEPRIORITYBOOST_STRING "Disable priority boosting" - IDS_BOOLTEXT_STRING "No!Yes" - IDS_TEMPFOLDERCHOOSE_STRING "!Choose temporary folder" - IDS_FEEDBACKTYPE_STRING "Disabled!Normal!Heavy" - IDS_SOUNDSWAVFILTER_STRING "!Sound files (.wav)|*.wav||" - IDS_FORCESHUTDOWNVALUES_STRING "Normal!Force" -END - -STRINGTABLE -BEGIN - IDS_CFGINTERCEPTCONTEXTMENU_STRING "Intercept standard Windows operations" - IDS_CFG_CHECK_FOR_UPDATES_FREQUENCY "Check for program updates" - IDS_CFG_UPDATECHANNEL "Update channel" - IDS_CFGLOGLEVEL_VALUES "Trace!Debug!Info!Warning!Error!Fatal" - IDS_UPDATE_FREQUENCIES "Never!Every startup!Daily!Weekly!Once every 2 weeks!Monthly!Quarterly" - IDS_BUFFER_QUEUE_DEPTH "Buffer queue depth" - IDS_FASTMOVEBEFOREBLOCK_STRING "Use fast move before blocking" - IDS_CFG_USE_SECURE_CONNECTION - "Use secure connection when checking for updates" - IDS_SECURE_CONNECTION_TYPES "No!Yes!Auto" - IDS_USECUSTOMNAMING "Use custom naming" - IDS_CUSTOMNAME_FIRST "Name format for first copy (use %name, %ext)" - IDS_CUSTOMNAME_SUBSEQUENT - "Name format for the subsequent copies (use %name, %ext, %count)" - IDS_CFGLOGLEVEL_APP "Log level - application" - IDS_CFGLOGLEVEL_ENGINEDEFAULT "Log level - engine" - IDS_CFGLOGLEVEL_SERIALIZER "Log level - data serializer" -END - -STRINGTABLE -BEGIN - IDS_CFGLOGLEVEL_TASK "Log level - task" - IDS_CFGLOGLEVEL_SUBTASK_SCANDIR "Log level - subtask - scan directory" - IDS_CFGLOGLEVEL_SUBTASK_COPYMOVE "Log level - subtask - copy/move" - IDS_CFGLOGLEVEL_SUBTASK_FASTMOVE "Log level - subtask - fast move" - IDS_CFGLOGLEVEL_SUBTASK_DELETE "Log level - subtask - delete" - IDS_CFGLOGLEVEL_FILESYSTEM "Log level - filesystem" -END - -STRINGTABLE -BEGIN - IDS_MINIVIEWAUTOHIDE_STRING "Hide when empty" - IDS_PROCESSINGTHREAD_STRING "Copying/moving thread" - IDS_AUTOCOPYREST_STRING "Auto ""copy-rest"" of files" - IDS_SETDESTATTRIB_STRING "Set attributes of destination files" - IDS_SETDESTTIME_STRING "Set date/time of destination files" - IDS_PROTECTROFILES_STRING "Protect read-only files" - IDS_LIMITOPERATIONS_STRING - "Limit maximum operations running simultaneously ..." - IDS_DEFAULTPRIORITY_STRING "Default thread priority" - IDS_AUTODETECTBUFFERSIZE_STRING "Use only default buffer" - IDS_DEFAULTBUFFERSIZE_STRING "Default buffer size" - IDS_DELETEAFTERFINISHED_STRING - "Don't delete files before copying finishes (moving)" -END - -STRINGTABLE -BEGIN - IDS_CREATELOGFILES_STRING "Create .log files" - IDS_SOUNDS_STRING "Sounds" - IDS_PLAYSOUNDS_STRING "Playing sounds" - IDS_SOUNDONERROR_STRING "Sound on error" - IDS_SOUNDONFINISH_STRING "Sound on copying finished" - IDS_LANGUAGE_STRING "Language" - IDS_READSIZEBEFOREBLOCK_STRING "Read tasks size before blocking" - IDS_USENOBUFFERING_STRING "Disable buffering for large files" - IDS_LARGEFILESMINSIZE_STRING - "Minimum file size for which buffering should be turned off" - IDS_OPTIONSBUFFER_STRING "Buffer" - IDS_ONEDISKBUFFERSIZE_STRING - "Buffer size for copying inside one physical disk boundary" - IDS_TWODISKSBUFFERSIZE_STRING - "Buffer size for copying between two different disks" - IDS_CDBUFFERSIZE_STRING "Buffer size for copying from CD-ROM" - IDS_LANBUFFERSIZE_STRING "Buffer size for copying over a network" - IDS_SHUTDOWNTIME_STRING "Wait ... [ms] before shutdown" - IDS_FORCESHUTDOWN_STRING "Type of shutdown" -END - -STRINGTABLE -BEGIN - IDS_SOURCESTRINGMISSING_STRING "You didn't enter source text" -END - -STRINGTABLE -BEGIN - IDS_COLUMNSTATUS_STRING "Status" - IDS_COLUMNSOURCE_STRING "File" - IDS_COLUMNDESTINATION_STRING "To:" - IDS_COLUMNPROGRESS_STRING "Progress" -END - -STRINGTABLE -BEGIN - IDS_EMPTYOPERATIONTEXT_STRING "None of tasks selected" - IDS_EMPTYSOURCETEXT_STRING "empty" - IDS_EMPTYDESTINATIONTEXT_STRING "empty" - IDS_EMPTYBUFFERSIZETEXT_STRING "unused" - IDS_EMPTYPRIORITYTEXT_STRING "unknown" - IDS_EMPTYPROCESSEDTEXT_STRING "empty" - IDS_EMPTYTRANSFERTEXT_STRING "unknown" - IDS_EMPTYTIMETEXT_STRING "00:00 / 00:00 (00:00)" - IDS_CURRENTPASS_STRING "pass: " - IDS_AVERAGEWORD_STRING "avg: " - IDS_STATUSTITLE_STRING "Status" - IDS_REPLACEPATHSTEXT_STRING - "Changed:\n%count paths primarily got from clipboard" - IDS_TASKNOTPAUSED_STRING "Selected task isn't paused" - IDS_TASKNOTSELECTED_STRING "Task not selected" - IDS_NONEINPUTFILE_STRING "none" -END - -STRINGTABLE -BEGIN - IDS_BUFFERSIZEZERO_STRING "Cannot operate with buffer of 0 size" -END - -STRINGTABLE -BEGIN - IDS_TITLECOPY_STRING "Copying..." - IDS_TITLEMOVE_STRING "Moving..." - IDS_TITLEUNKNOWNOPERATION_STRING - "Unknown operation type - this shouldn't happen" - IDS_MAINBROWSETEXT_STRING "Enter destination path for:\n" -END - -STRINGTABLE -BEGIN - IDS_STATUS_INITIALIZING_STRING "Initializing" - IDS_STATUS_FASTMOVE_STRING "Fast moving" - IDS_EMPTYSUBTASKNAME_STRING "none" - IDS_STATUS_LOADERROR_STRING "Load error" - IDS_EXPORTING_TASK_FAILED "Exporting task data failed. Reason: %reason." - IDS_BUTTON_TRUNCATE_STRING "&Truncate" -END - -STRINGTABLE -BEGIN - IDS_STATUS_SEARCHING_STRING "Searching" - IDS_STATUS_COPYING_STRING "Copying" - IDS_STATUS_MOVING_STRING "Moving" - IDS_STATUS_FINISHED_STRING "Finished" - IDS_STATUS_ERROR_STRING "Error" - IDS_STATUS_PAUSED_STRING "Paused" - IDS_STATUS_DELETING_STRING "Deleting" - IDS_STATUS_UNKNOWN_STRING "Unknown" - IDS_STATUS_CANCELLED_STRING "Cancelled" - IDS_STATUS_WAITING_STRING "Waiting" - IDS_STATUS_ONLY_FILES_STRING "Only files" - IDS_STATUS_WITHOUT_CONTENTS_STRING "Without contents" - IDS_SHELLEXECUTEERROR_STRING - "Error #%errno calling ShellExecute for file %path" - IDS_BSDEFAULT_STRING "Default: " -END - -STRINGTABLE -BEGIN - IDS_FIRSTCOPY_STRING "%name - copy%ext" - IDS_NEXTCOPY_STRING "%name - copy (%count)%ext" - IDS_NOTFOUND_STRING "File not found (doesn't exist)" - IDS_BYTE_STRING "B" - IDS_KBYTE_STRING "kB" - IDS_MBYTE_STRING "MB" - IDS_GBYTE_STRING "GB" - IDS_TBYTE_STRING "TB" - IDS_PBYTE_STRING "PB" - IDS_LT_STRING "<" - IDS_LE_STRING "<=" - IDS_EQ_STRING "=" - IDS_GE_STRING ">=" - IDS_GT_STRING ">" - IDS_UPDATER_NEW_VERSION_STRING - "Updated version: %officialver (%numericver).\nReleased: %reldate" -END - -STRINGTABLE -BEGIN - IDS_DIALOGS_SHOW_HIDE_STRING "Show/hide dialogs" - IDS_SHELLEXT_REGISTER_SHOWHIDE_STRING - "Show message about shell extension not registered" - IDS_SHELLEXT_VERSIONMISMATCH_SHOWHIDE_STRING - "Show message about shell extension version mismatch" - IDS_SHELLEXT_XML_IMPORT_FAILED - "Encountered an error when communicating with CH Shell Extension.\nDetails:\n%err" - IDS_UPDATER_NEWUPDATE_STRING "Updates are available" - IDS_UPDATER_CHECKINGFORUPDATES "Checking for updates..." - IDS_UPDATER_KILLEDERROR "Checking for updates was stopped" - IDS_UPDATER_ALREADYNEWESTVERSION "You already have the newest version" - IDS_UPDATER_NEWVERSIONEXISTS "There are updates available" - IDS_UPDATER_RELEASENOTES "Release notes:" - IDS_FINALIZE_CH_ERROR "Failed to finalize Copy Handler. Some information about tasks being processed might be lost. Error: %reason." -END - -STRINGTABLE -BEGIN - IDS_BSONEDISK_STRING "One disk: " - IDS_BSTWODISKS_STRING "Two disks: " - IDS_BSCD_STRING "CD: " - IDS_BSLAN_STRING "LAN: " - IDS_EMPTYTASKID_STRING "not associated" - IDS_FILTERING_STRING " [with filter]" - IDS_CONFIRMCANCEL_STRING - "Selected task wasn't finished yet.\nDo you want to finish it now ?" -END - -STRINGTABLE -BEGIN - IDS_SHUTDOWNERROR_STRING - "Cannot shutdown this operating system.\nEncountered error #%errno." -END - -STRINGTABLE -BEGIN - IDS_MINIVIEWSMOOTHPROGRESS_STRING "Use smooth progress bars" - IDS_CFGFOLDERDIALOG_STRING "Choose folder dialog" - IDS_CFGFDEXTVIEW_STRING "Show extended view" - IDS_CFGFDWIDTH_STRING "Dialog width [pixels]" - IDS_CFGFDHEIGHT_STRING "Dialog height [pixels]" - IDS_CFGFDSHORTCUTS_STRING "Shortcuts' list style" - IDS_CFGFDIGNOREDIALOGS_STRING "Ignore additional shell dialogs" - IDS_CFGSHCOPY_STRING "Show 'Copy' command in drag&drop menu" - IDS_CFGSHMOVE_STRING "Show 'Move' command in drag&drop menu" - IDS_CFGSHCMSPECIAL_STRING - "Show 'Copy/move special' command in drag&drop menu" - IDS_CFGSHPASTE_STRING "Show 'Paste' command in context menu" - IDS_CFGSHPASTESPECIAL_STRING - "Show 'Paste special' command in context menu" - IDS_CFGSHCOPYTO_STRING "Show 'Copy to' command in context menu" - IDS_CFGSHMOVETO_STRING "Show 'Move to' command in context menu" - IDS_CFGSHCMTOSPECIAL_STRING - "Show 'Copy/move special to' command in context menu" - IDS_CFGSHSHOWFREESPACE_STRING "Show free space with shortcuts' names" -END - -STRINGTABLE -BEGIN - IDS_BSECD_STRING "CD: %size" - IDS_BSELAN_STRING "LAN: %size" - IDS_HDRMASK_STRING "Include mask" - IDS_HDRSIZE_STRING "Size" - IDS_HDRDATE_STRING "Date" - IDS_HDRATTRIB_STRING "Attributes included" - IDS_AND_STRING " and " - IDS_FILTERMASKEMPTY_STRING "none" - IDS_FILTERSIZE_STRING "any" - IDS_FILTERDATE_STRING "any" - IDS_HDREXCLUDEMASK_STRING "Exclude mask" - IDS_HDREXCLUDEATTRIB_STRING "Attributes excluded" - IDS_FILTERATTRIB_STRING "none" - IDS_EMPTYFILTER_STRING "None of filtering options were selected" - IDS_FLTALLFILTER_STRING "All files (*.*)|*.*||" - IDS_IMPORTREPORT_STRING "Imported %count path(s)" -END - -STRINGTABLE -BEGIN - IDS_IMPORTERROR_STRING "Cannot import paths from the specified file" - IDS_ERROR_INITIALIZING_COMMON_CONTROLS - "Cannot initialize common controls. The application will now exit." - IDS_ERROR_INITIALIZING_RICH_EDIT_CONTROL - "Cannot initialize rich edit control. The application will now exit." -END - -STRINGTABLE -BEGIN - IDS_DATECREATED_STRING "Date of creation" - IDS_DATELASTWRITE_STRING "Date of last write" - IDS_DATEACCESSED_STRING "Date of last access" -END - -STRINGTABLE -BEGIN - IDS_MENUCOPY_STRING "(CH) Copy here" - IDS_MENUMOVE_STRING "(CH) Move here" - IDS_MENUCOPYMOVESPECIAL_STRING "(CH) Copy/move special..." - IDS_MENUPASTE_STRING "(CH) Paste" - IDS_MENUPASTESPECIAL_STRING "(CH) Paste special..." - IDS_MENUCOPYTO_STRING "(CH) Copy to" - IDS_MENUMOVETO_STRING "(CH) Move to" - IDS_MENUCOPYMOVETOSPECIAL_STRING "(CH) Copy/move special to..." -END - -STRINGTABLE -BEGIN - IDS_MENUTIPCOPY_STRING "Copies data here with Copy Handler" - IDS_MENUTIPMOVE_STRING "Moves data here with Copy Handler" - IDS_MENUTIPCOPYMOVESPECIAL_STRING - "Copies/moves data with additional settings" - IDS_MENUTIPPASTE_STRING "Pastes files/folders from clipboard here" - IDS_MENUTIPPASTESPECIAL_STRING - "Pastes files/folders from clipboard here with additional settings" - IDS_MENUTIPCOPYTO_STRING "Copies selected data into specified folder" - IDS_MENUTIPMOVETO_STRING "Moves selected data into specified folder" - IDS_MENUTIPCOPYMOVETOSPECIAL_STRING - "Copies/moves selected data into specified folder with additional settings" - IDS_SHELLEXT_CHOOSE_DIR_STRING "Choose directory..." - IDS_SHELLEXT_CHOOSE_DIR_TOOLTIP_STRING - "Allows to choose the destination directory" -END - -STRINGTABLE -BEGIN - IDS_CFGFDSHORTCUTSSTYLES_STRING "Large icons!Small icons!List!Report" - IDS_CFGPRIORITYCLASSITEMS_STRING "Idle!Normal!High!Real-time" - IDS_CFGUPDATECHANNELITEMS_STRING "Stable!Release Candidate!Beta!Alpha" - IDS_PLUGSFOLDER_STRING "Folder with plugins" - IDS_PLUGSFOLDERCHOOSE_STRING "!Choose folder with plugins" - IDS_CFGLOGFILE_STRING "Debugging" - IDS_CFGMAXLIMIT_STRING "Maximum size of the log file" - IDS_CFGROTATEDCOUNT_STRING "Maximum count of rotated log files to keep" - IDS_CFGHELPDIR_STRING "Directory with help files" - IDS_CFGHELPDIRCHOOSE_STRING "!Choose folder with program's help files" - IDS_LANGUAGESFOLDER_STRING "Directory with language files" - IDS_LANGSFOLDERCHOOSE_STRING "!Choose folder with language files" - IDS_ABOUT_LANGUAGE_STRING - "Current language: %langname, Author(s): %authors" -END - -STRINGTABLE -BEGIN - IDS_SHORTCUTNAME_STRING "Shortcut's name" - IDS_SHORTCUTPATH_STRING "Path" -END - -STRINGTABLE -BEGIN - IDS_BDOK_STRING "&OK" - IDS_BDCANCEL_STRING "&Cancel" - IDS_BDCANNOTCREATEFOLDER_STRING "Cannot create the folder" - IDS_BDPATHDOESNTEXIST_STRING "Entered path doesn't exist" - IDS_BDNAME_STRING "Name" - IDS_BDPATH_STRING "Path" - IDS_BDPATH2_STRING "Path: " - IDS_BDRIGHT_STRING ">>" - IDS_BDLEFT_STRING "<<" - IDS_BDNOSHORTCUTPATH_STRING - "You haven't entered the path for this shortcut" - IDS_BDNEWFOLDER_STRING "Create new folder" - IDS_BDLARGEICONS_STRING "Large icons" - IDS_BDSMALLICONS_STRING "Small icons" - IDS_BDLIST_STRING "List" - IDS_BDREPORT_STRING "Report" - IDS_BDDETAILS_STRING "Details" -END - -STRINGTABLE -BEGIN - IDS_BDADDSHORTCUT_STRING "Add to shortcut's list" - IDS_BDREMOVESHORTCUT_STRING "Remove from shortcut's list" - IDS_BDDOMAIN_STRING "Domain/Workgroup" - IDS_BDSERVER_STRING "Server" - IDS_BDSHARE_STRING "Share" - IDS_BDFILE_STRING "File" - IDS_BDGROUP_STRING "Group" - IDS_BDNETWORK_STRING "Network" - IDS_BDROOT_STRING "Root" - IDS_BDADMINSHARE_STRING "Administration share" - IDS_BDDIR_STRING "Directory" - IDS_BDTREE_STRING "Tree" - IDS_BDNDSCONTAINER_STRING "NDS Container" - IDS_INFO_PATH_STRING "Location: %pathname" - IDS_INFO_SIZE_STRING "Size: %size" - IDS_INFO_MODIFIED_STRING "Modified: %datemod" -END - -STRINGTABLE -BEGIN - IDS_INFO_REASON_STRING "Reason: %reason" - IDS_INFO_FILE_STRING "File: %filename" -END - -STRINGTABLE -BEGIN - IDS_INFO_TWO_FILE_STRING - "Source file: %filename\nDestination file: %dstfilename" - IDS_OK_STRING "&OK" - IDS_CANCEL_STRING "&Cancel" - IDS_YES_STRING "&Yes" - IDS_NO_STRING "&No" -END - -STRINGTABLE -BEGIN - IDS_ABOUTVERSION_STRING "Compilation: " -END - -STRINGTABLE -BEGIN - IDS_NERPATH_STRING "There is not enough room in %path to copy or move:" -END - -STRINGTABLE -BEGIN - IDS_UPDATER_EQUAL_VERSION_STRING - "Your current version: %thisver (%thisnumericver)" - IDS_UPDATER_ERROR_STRING "Check for updates error" - IDS_UPDATER_WAITING_STRING "Connecting with %site..." - IDS_SHELL_EXTENSION_MISMATCH_STRING - "Copy Handler detected an incompatible version of Shell Extension component.\nWould you like to update it now (requires administrative rights)?" - IDS_SHELL_EXTENSION_UNREGISTERED_STRING - "Copy Handler detected that Shell Extension component is not enabled.\nDo you want to enable it now (requires administrative rights)?" - IDS_SHELL_EXTENSION_REGISTERED_MISMATCH_STRING - "Copy Handler registered new Shell Extension component, but the old one is still in use by system.\nPlease reboot your system for changes to take effect." - IDS_CH_PORTABLE_STRING " (portable mode)" - IDS_TASK_IMPORT_FAILED "Failed to import task '%path'." - IDS_TASK_CREATE_FAILED "Cannot create new task. Reason: %reason." - IDS_TASKMANAGER_LOAD_FAILED - "Failed to load task list database. Copy Handler will create a new, empty database for you." - IDS_DO_NOT_SHOW_AGAIN_STRING "Do not show this message again" - IDS_ALWAYS_SHOW_STRING "Always show" - IDS_HIDE_AND_REGISTER "Hide and register extension" - IDS_HIDE_AND_DONT_REGISTER "Hide and do not register extension" -END - -#endif // English (United States) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#if defined(_WIN32) || defined(_WIN64) -LANGUAGE 9, 1 -#pragma code_page(1252) -#endif -#include "res\ch.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#endif -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +// Generated Help ID header file +#define APSTUDIO_HIDDEN_SYMBOLS +#include "resource.hm" +#undef APSTUDIO_HIDDEN_SYMBOLS + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#define _USING_V110_SDK71_ 1 +#include "afxres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (United States) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) + +///////////////////////////////////////////////////////////////////////////// +// +// Dialog +// + +IDD_MSGBOX_DIALOG DIALOGEX 0, 0, 177, 70 +STYLE DS_SETFONT | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_THICKFRAME +CAPTION "Copy Handler" +FONT 8, "MS Shell Dlg", 400, 0, 0x1 +BEGIN + PUSHBUTTON "",IDC_SECOND_BUTTON,63,49,50,14 + PUSHBUTTON "",IDC_THIRD_BUTTON,119,49,50,14 + ICON "",IDC_IMAGE_STATIC,13,13,20,20,SS_REALSIZEIMAGE + CONTROL "Do not show this again",IDC_BASIC_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,36,163,10 + PUSHBUTTON "",IDC_FIRST_BUTTON,7,49,50,14 + CONTROL "",IDC_MSG_RICHEDIT,"RichEdit20W",ES_MULTILINE | ES_READONLY | WS_DISABLED | WS_TABSTOP,43,13,127,20 + CONTROL "",IDC_MEASURE_RICHEDIT,"RichEdit20W",ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_READONLY | NOT WS_VISIBLE | WS_DISABLED | WS_TABSTOP,7,7,11,7 +END + +IDD_BUFFERSIZE_DIALOG DIALOGEX 0, 0, 345, 135 +STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Buffer size settings" +FONT 8, "Tahoma", 0, 0, 0x1 +BEGIN + EDITTEXT IDC_DEFAULTSIZE_EDIT,35,17,97,14,ES_AUTOHSCROLL | NOT WS_BORDER,WS_EX_CLIENTEDGE,HIDC_DEFAULTSIZE_EDIT + COMBOBOX IDC_DEFAULTMULTIPLIER_COMBO,134,18,31,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_DEFAULTMULTIPLIER_COMBO + EDITTEXT IDC_ONEDISKSIZE_EDIT,35,49,97,14,ES_AUTOHSCROLL | NOT WS_BORDER,WS_EX_CLIENTEDGE,HIDC_ONEDISKSIZE_EDIT + COMBOBOX IDC_ONEDISKMULTIPLIER_COMBO,134,50,31,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_ONEDISKMULTIPLIER_COMBO + EDITTEXT IDC_TWODISKSSIZE_EDIT,35,81,97,14,ES_AUTOHSCROLL | NOT WS_BORDER,WS_EX_CLIENTEDGE,HIDC_TWODISKSSIZE_EDIT + COMBOBOX IDC_TWODISKSMULTIPLIER_COMBO,134,82,31,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_TWODISKSMULTIPLIER_COMBO + EDITTEXT IDC_CDROMSIZE_EDIT,206,18,97,14,ES_AUTOHSCROLL | NOT WS_BORDER,WS_EX_CLIENTEDGE,HIDC_CDROMSIZE_EDIT + COMBOBOX IDC_CDROMMULTIPLIER_COMBO,307,18,31,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_CDROMMULTIPLIER_COMBO + EDITTEXT IDC_LANSIZE_EDIT,206,51,97,14,ES_AUTOHSCROLL | NOT WS_BORDER,WS_EX_CLIENTEDGE,HIDC_LANSIZE_EDIT + COMBOBOX IDC_LANMULTIPLIER_COMBO,307,52,31,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_LANMULTIPLIER_COMBO + EDITTEXT IDC_BUFFERCOUNT_EDIT,206,82,122,14,ES_AUTOHSCROLL | ES_NUMBER + CONTROL "",IDC_BUFFERCOUNT_SPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,327,82,11,14 + CONTROL "Use only default buffer",IDC_ONLYDEFAULT_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,102,331,10,0,HIDC_ONLYDEFAULT_CHECK + DEFPUSHBUTTON "&OK",IDOK,176,114,50,14,0,0,HIDOK + PUSHBUTTON "&Cancel",IDCANCEL,229,114,50,14,0,0,HIDCANCEL + PUSHBUTTON "&Help",IDC_HELP_BUTTON,288,114,50,14,0,0,HIDC_HELP_BUTTON + LTEXT "Default",IDC_001_STATIC,35,7,127,8 + LTEXT "For copying inside one disk boundary",IDC_002_STATIC,35,38,130,8 + LTEXT "For copying between two different disks",IDC_003_STATIC,35,70,132,8 + LTEXT "For copying with CD-ROM use",IDC_004_STATIC,207,7,131,8 + LTEXT "For copying with network use",IDC_005_STATIC,207,40,131,8 + ICON IDI_CD_ICON,IDC_006_STATIC,179,13,20,20,SS_REALSIZEIMAGE + ICON IDI_NET_ICON,IDC_007_STATIC,179,44,20,20,SS_REALSIZEIMAGE + ICON IDI_HDD_ICON,IDC_008_STATIC,7,43,20,20,SS_REALSIZEIMAGE + ICON IDI_HDD2_ICON,IDC_009_STATIC,7,73,20,20,SS_REALSIZEIMAGE + ICON IDI_TRIBE_ICON,IDC_010_STATIC,7,9,20,20,SS_REALSIZEIMAGE + LTEXT "Count of buffers",IDC_011_STATIC,207,70,131,8 +END + +IDD_FEEDBACK_FILE_ERROR_DIALOG DIALOGEX 0, 0, 283, 112 +STYLE DS_SYSMODAL | DS_SETFONT | DS_CENTER | DS_CONTEXTHELP | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME +CAPTION "File Error" +FONT 8, "Tahoma", 0, 0, 0x1 +BEGIN + PUSHBUTTON "&Retry",IDC_RETRY_BUTTON,7,79,64,14,0,0,HIDC_RETRY_BUTTON + PUSHBUTTON "&Skip",IDC_SKIP_BUTTON,74,79,64,14,0,0,HIDC_SKIP_BUTTON + DEFPUSHBUTTON "&Pause",IDC_PAUSE_BUTTON,141,79,64,14,0,0,HIDC_PAUSE_BUTTON + PUSHBUTTON "&Cancel",IDCANCEL,212,79,64,14,0,0,HIDCANCEL + ICON IDI_ERR_ICON,IDC_001_STATIC,15,15,20,20,SS_REALSIZEIMAGE + CONTROL "&Apply to all items",IDC_ALL_ITEMS_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,95,269,10 + LTEXT "Encountered an error while processing file.",IDC_DESC_STATIC,43,7,223,23 + LTEXT "File: c:\\test.avi\nReason: No permission to perform the operation requested.",IDC_INFO_STATIC,51,28,225,42 +END + +IDD_MINIVIEW_DIALOG DIALOGEX 0, 0, 91, 23 +STYLE DS_ABSALIGN | DS_SYSMODAL | DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION +EXSTYLE WS_EX_TOOLWINDOW +CAPTION "Status" +FONT 8, "Tahoma", 0, 0, 0x1 +BEGIN + LISTBOX IDC_PROGRESS_LIST,7,7,77,9,LBS_OWNERDRAWFIXED | LBS_NOINTEGRALHEIGHT | NOT WS_BORDER | WS_TABSTOP,0,HIDC_PROGRESS_LIST +END + +IDD_OPTIONS_DIALOG DIALOGEX 0, 0, 397, 214 +STYLE DS_SETFONT | DS_CENTER | DS_CONTEXTHELP | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME +CAPTION "Options" +FONT 8, "Tahoma", 0, 0, 0x1 +BEGIN + DEFPUSHBUTTON "&OK",IDOK,173,193,50,14,0,0,HIDOK + PUSHBUTTON "&Cancel",IDCANCEL,227,193,50,14,0,0,HIDCANCEL + LISTBOX IDC_PROPERTIES_LIST,7,7,383,179,LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP,0,HIDC_PROPERTIES_LIST + PUSHBUTTON "&Apply",IDC_APPLY_BUTTON,283,193,50,14,0,0,HIDC_APPLY_BUTTON + PUSHBUTTON "&Help",IDHELP,340,193,50,14,0,0,HIDHELP +END + +IDD_STATUS_DIALOG DIALOGEX 0, 0, 491, 302 +STYLE DS_SETFONT | DS_CONTEXTHELP | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME +EXSTYLE WS_EX_APPWINDOW +CAPTION "Status" +FONT 8, "Tahoma", 0, 0, 0x1 +BEGIN + CONTROL "List1",IDC_STATUS_LIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,7,19,223,171,0,HIDC_STATUS_LIST + PUSHBUTTON "&Pause",IDC_PAUSE_BUTTON,7,193,44,14,0,0,HIDC_PAUSE_BUTTON + PUSHBUTTON "&Restart",IDC_RESTART_BUTTON,97,193,44,14,0,0,HIDC_RESTART_BUTTON + PUSHBUTTON "&Cancel",IDC_CANCEL_BUTTON,142,193,44,14,0,0,HIDC_CANCEL_BUTTON + PUSHBUTTON "&Remove",IDC_DELETE_BUTTON,187,193,44,14,0,0,HIDC_DELETE_BUTTON + PUSHBUTTON "Pause/all",IDC_PAUSE_ALL_BUTTON,7,208,71,14,0,0,HIDC_PAUSE_ALL_BUTTON + PUSHBUTTON "Resume/all",IDC_START_ALL_BUTTON,79,208,71,14,0,0,HIDC_START_ALL_BUTTON + PUSHBUTTON "Cancel/all",IDC_CANCEL_ALL_BUTTON,7,223,71,14,0,0,HIDC_CANCEL_ALL_BUTTON + PUSHBUTTON "Remove/all",IDC_REMOVE_FINISHED_BUTTON,79,223,71,14,0,0,HIDC_REMOVE_FINISHED_BUTTON + PUSHBUTTON "Restart/all",IDC_RESTART_ALL_BUTTON,151,223,79,14,0,0,HIDC_RESTART_ALL_BUTTON + PUSHBUTTON "Advanced >",IDC_TASK_ADVANCED_BUTTON,151,208,79,14,0,0,HIDC_TASK_ADVANCED_BUTTON + PUSHBUTTON "",IDC_STICK_BUTTON,484,295,7,7,BS_CENTER | BS_VCENTER | BS_FLAT,0,HIDC_STICK_BUTTON + PUSHBUTTON "...",IDC_SET_BUFFERSIZE_BUTTON,463,71,13,14,0,0,HIDC_SET_BUFFERSIZE_BUTTON + PUSHBUTTON ">",IDC_SET_PRIORITY_BUTTON,463,85,13,14,0,0,HIDC_SET_PRIORITY_BUTTON + PUSHBUTTON "View log",IDC_SHOW_LOG_BUTTON,431,18,45,12,0,0,HIDC_SHOW_LOG_BUTTON + LTEXT "List of tasks:",IDC_TASKLIST_LABEL_STATIC,7,7,223,8 + CONTROL "Progress1",IDC_GLOBAL_PROGRESS,"msctls_progress32",0x0,71,282,153,7 + LTEXT "Progress:",IDC_GLOBALPROGRESS_LABEL_STATIC,13,281,54,8 + CONTROL "Progress2",IDC_TASKSIZE_PROGRESS,"msctls_progress32",0x0,311,282,165,6 + LTEXT "Task size:",IDC_TASKSIZE_LABEL_STATIC,247,280,62,8 + LTEXT "Destination:",IDC_DESTINATIONOBJECT_LABEL_STATIC,247,61,40,8 + LTEXT "Source:",IDC_SOURCEOBJECT_LABEL_STATIC,247,48,62,8 + LTEXT "Buffer size:",IDC_BUFFERSIZE_LABEL_STATIC,247,75,62,8 + LTEXT "Thread priority:",IDC_THREADPRIORITY_LABEL_STATIC,247,89,62,8 + LTEXT "Operation:",IDC_OPERATION_LABEL_STATIC,247,35,62,8 + LTEXT "Speed:",IDC_TASKTRANSFER_LABEL_STATIC,247,258,62,8 + LTEXT "Processed:",IDC_TASKPROCESSED_LABEL_STATIC,247,232,62,8 + LTEXT "Transfer:",IDC_GLOBALTRANSFER_LABEL_STATIC,13,268,54,8 + LTEXT "Processed:",IDC_GLOBALPROCESSED_LABEL_STATIC,13,255,54,8 + LTEXT "Time:",IDC_TASKTIME_LABEL_STATIC,247,245,62,8 + PUSHBUTTON "&Resume",IDC_RESUME_BUTTON,52,193,44,14,0,0,HIDC_RESUME_BUTTON + LTEXT "Task ID:",IDC_TASKID_LABEL_STATIC,247,21,62,8 + CONTROL "",IDC_TASKID_STATIC,"STATICEX",0x4,311,18,118,12,WS_EX_STATICEDGE,HIDC_TASKID_STATIC + CONTROL "",IDC_OPERATION_STATIC,"STATICEX",0x4,311,32,165,12,WS_EX_STATICEDGE,HIDC_OPERATION_STATIC + CONTROL "",IDC_SOURCEOBJECT_STATIC,"STATICEX",0x4,311,45,165,12,WS_EX_STATICEDGE,HIDC_SOURCEOBJECT_STATIC + CONTROL "",IDC_DESTINATIONOBJECT_STATIC,"STATICEX",0x4,311,58,165,12,WS_EX_STATICEDGE,HIDC_DESTINATIONOBJECT_STATIC + CONTROL "",IDC_TASKPROCESSED_STATIC,"STATICEX",0x4,311,230,165,12,WS_EX_STATICEDGE,HIDC_TASKPROCESSED_STATIC + CONTROL "",IDC_TASKTIME_STATIC,"STATICEX",0x4,311,243,165,12,WS_EX_STATICEDGE,HIDC_TASKTIME_STATIC + CONTROL "",IDC_TASKTRANSFER_STATIC,"STATICEX",0x4,311,256,165,12,WS_EX_STATICEDGE,HIDC_TASKTRANSFER_STATIC + CONTROL "",IDC_GLOBALPROCESSED_STATIC,"STATICEX",0x4,71,253,153,12,WS_EX_STATICEDGE,HIDC_GLOBALPROCESSED_STATIC + CONTROL "",IDC_GLOBALTRANSFER_STATIC,"STATICEX",0x4,71,266,153,12,WS_EX_STATICEDGE,HIDC_GLOBALTRANSFER_STATIC + CONTROL "",IDC_BUFFERSIZE_STATIC,"STATICEX",0x4,311,72,151,12,WS_EX_STATICEDGE,HIDC_BUFFERSIZE_STATIC + CONTROL "",IDC_THREADPRIORITY_STATIC,"STATICEX",0x4,311,86,151,12,WS_EX_STATICEDGE,HIDC_THREADPRIORITY_STATIC + CONTROL "",IDC_SUBTASKCOUNT_PROGRESS,"msctls_progress32",0x0,311,189,165,6 + LTEXT "Count of objects:",IDC_SUBTASKCOUNT_LABEL_STATIC,247,187,62,8 + CONTROL "",IDC_SUBTASKSIZE_PROGRESS,"msctls_progress32",0x0,311,199,165,6 + LTEXT "Size of objects:",IDC_SUBTASKSIZE_LABEL_STATIC,247,197,62,8 + LTEXT "Processed:",IDC_SUBTASKPROCESSED_LABEL_STATIC,247,139,62,8 + CONTROL "",IDC_SUBTASKPROCESSED_STATIC,"STATICEX",0x4,311,136,165,12,WS_EX_STATICEDGE,HIDC_SUBTASKPROCESSED_STATIC + LTEXT "Time:",IDC_SUBTASKTIME_LABEL_STATIC,247,152,62,8 + CONTROL "",IDC_SUBTASKTIME_STATIC,"STATICEX",0x4,311,149,165,12,WS_EX_STATICEDGE,HIDC_SUBTASKTIME_STATIC + CONTROL "",IDC_TASKCOUNT_PROGRESS,"msctls_progress32",0x0,311,272,165,6 + LTEXT "Task count:",IDC_TASKCOUNT_LABEL_STATIC,247,270,62,8 + LTEXT "Speed:",IDC_SUBTASKTRANSFER_LABEL_STATIC,247,165,62,8 + CONTROL "",IDC_SUBTASKTRANSFER_STATIC,"STATICEX",0x4,311,162,165,12,WS_EX_STATICEDGE,HIDC_SUBTASKTRANSFER_STATIC + LTEXT "Current phase:",IDC_SUBTASKNAME_LABEL_STATIC,247,125,62,8 + CONTROL "",IDC_SUBTASKNAME_STATIC,"STATICEX",0x4,311,122,165,12,WS_EX_STATICEDGE,HIDC_SUBTASKNAME_STATIC + CONTROL "",IDC_CURRENTOBJECT_PROGRESS,"msctls_progress32",0x0,311,179,165,6 + LTEXT "Current object:",IDC_CURRENTOBJECT_LABEL_STATIC,247,177,62,8 + GROUPBOX "Task information",IDC_TASKINFORMATION_GROUP_STATIC,238,7,246,98,0,WS_EX_TRANSPARENT + GROUPBOX "Current phase statistics",IDC_CURRENTPHASE_GROUP_STATIC,238,110,246,102,0,WS_EX_TRANSPARENT + GROUPBOX "Entire task statistics",IDC_ENTIRETASK_GROUP_STATIC,238,218,246,77,0,WS_EX_TRANSPARENT + GROUPBOX "Global statistics",IDC_GLOBAL_GROUP_STATIC,7,242,223,53,0,WS_EX_TRANSPARENT +END + +IDD_FEEDBACK_NOTENOUGHSPACE_DIALOG DIALOGEX 0, 0, 255, 147 +STYLE DS_SYSMODAL | DS_SETFONT | DS_CENTER | DS_CONTEXTHELP | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME +CAPTION "Not enough free space" +FONT 8, "Tahoma", 0, 0, 0x1 +BEGIN + PUSHBUTTON "&Retry",IDC_RETRY_BUTTON,78,113,57,14,0,0,HIDC_RETRY_BUTTON + PUSHBUTTON "C&ontinue",IDC_IGNORE_BUTTON,136,113,57,14,0,0,HIDC_IGNORE_BUTTON + PUSHBUTTON "&Cancel",IDCANCEL,198,113,50,14,0,0,HIDCANCEL + LISTBOX IDC_FILES_LIST,42,35,206,44,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP,0,HIDC_FILES_LIST + LTEXT "",IDC_REQUIRED_STATIC,109,85,139,8,0,0,HIDC_REQUIRED_STATIC + LTEXT "",IDC_AVAILABLE_STATIC,109,97,139,8,0,0,HIDC_AVAILABLE_STATIC + ICON IDI_WARNING_ICON,IDC_001_STATIC,9,11,20,20,SS_REALSIZEIMAGE + LTEXT "Required space:",IDC_003_STATIC,41,85,59,8 + LTEXT "Space available:",IDC_004_STATIC,41,97,59,8 + LTEXT "",IDC_HEADER_STATIC,42,7,206,24 + CONTROL "&Do not ask anymore",IDC_ALL_ITEMS_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,130,241,10 +END + +IDD_SHUTDOWN_DIALOG DIALOGEX 0, 0, 186, 86 +STYLE DS_SYSMODAL | DS_SETFONT | DS_MODALFRAME | DS_CENTER | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Copy handler" +FONT 8, "Tahoma", 0, 0, 0x1 +BEGIN + DEFPUSHBUTTON "&Cancel",IDCANCEL,67,65,50,14,0,0,HIDCANCEL + ICON IDI_SHUTDOWN_ICON,IDC_001_STATIC,7,10,20,20,SS_REALSIZEIMAGE + LTEXT "All copy/move operations were finished. Attempt to shut down the system will be performed in:",IDC_002_STATIC,37,7,142,24 + CTEXT "",IDC_TIME_STATIC,7,35,172,8 + CONTROL "Progress1",IDC_TIME_PROGRESS,"msctls_progress32",PBS_SMOOTH,7,48,172,9 +END + +IDD_CUSTOM_COPY_DIALOG DIALOGEX 0, 0, 351, 318 +STYLE DS_SETFONT | DS_CENTER | DS_CONTEXTHELP | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME +EXSTYLE WS_EX_APPWINDOW +CAPTION "Copying/moving parameters" +FONT 8, "Tahoma", 0, 0, 0x1 +BEGIN + CONTROL "List1",IDC_FILES_LIST,"SysListView32",LVS_REPORT | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS | LVS_NOCOLUMNHEADER | WS_BORDER | WS_TABSTOP,7,16,279,57,WS_EX_ACCEPTFILES,HIDC_FILES_LIST + PUSHBUTTON "Add &file(s)...",IDC_ADDFILE_BUTTON,291,15,53,14,0,0,HIDC_ADDFILE_BUTTON + PUSHBUTTON "Add f&older...",IDC_ADDDIR_BUTTON,291,30,53,14,0,0,HIDC_ADDDIR_BUTTON + PUSHBUTTON "&Delete",IDC_REMOVEFILEFOLDER_BUTTON,291,45,53,14,0,0,HIDC_REMOVEFILEFOLDER_BUTTON + PUSHBUTTON "&Import...",IDC_IMPORT_BUTTON,291,60,53,14,0,0,HIDC_IMPORT_BUTTON + CONTROL "",IDC_DESTPATH_COMBOBOXEX,"ComboBoxEx32",CBS_DROPDOWN | CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP,7,86,314,136,WS_EX_ACCEPTFILES,HIDC_DESTPATH_COMBOBOXEX + PUSHBUTTON "...",IDC_DESTBROWSE_BUTTON,326,85,18,14,0,0,HIDC_DESTBROWSE_BUTTON + COMBOBOX IDC_OPERATION_COMBO,13,124,159,143,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_OPERATION_COMBO + COMBOBOX IDC_PRIORITY_COMBO,181,124,159,75,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_PRIORITY_COMBO + LISTBOX IDC_BUFFERSIZES_LIST,13,152,275,20,LBS_NOINTEGRALHEIGHT | LBS_MULTICOLUMN | LBS_NOSEL | WS_VSCROLL | WS_TABSTOP,0,HIDC_BUFFERSIZES_LIST + PUSHBUTTON "&Change...",IDC_BUFFERSIZES_BUTTON,294,152,50,14,0,0,HIDC_BUFFERSIZES_BUTTON + CONTROL "Filtering",IDC_FILTERS_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,177,61,10,0,HIDC_FILTERS_CHECK + CONTROL "List2",IDC_FILTERS_LIST,"SysListView32",LVS_REPORT | WS_BORDER | WS_TABSTOP,13,190,303,46,0,HIDC_FILTERS_LIST + PUSHBUTTON "+",IDC_ADDFILTER_BUTTON,322,190,22,14,0,0,HIDC_ADDFILTER_BUTTON + PUSHBUTTON "-",IDC_REMOVEFILTER_BUTTON,322,206,22,14,0,0,HIDC_REMOVEFILTER_BUTTON + CONTROL "Advanced options",IDC_ADVANCED_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,242,84,10,0,HIDC_ADVANCED_CHECK + CONTROL "Do not create destination directories - copy files loosely to destination folder",IDC_IGNOREFOLDERS_CHECK, + "Button",BS_AUTOCHECKBOX | BS_NOTIFY | WS_TABSTOP,13,255,329,10,0,HIDC_IGNOREFOLDERS_CHECK + CONTROL "Do not copy/move contents of files - only create it (empty)",IDC_ONLYSTRUCTURE_CHECK, + "Button",BS_AUTOCHECKBOX | BS_NOTIFY | WS_TABSTOP,13,277,329,10,0,HIDC_ONLYSTRUCTURE_CHECK + PUSHBUTTON "&OK",IDOK,186,297,50,14,0,0,HIDOK + PUSHBUTTON "&Cancel",IDCANCEL,239,297,50,14,0,0,HIDCANCEL + LTEXT "Source files/folders:",IDC_001_STATIC,7,7,337,8 + LTEXT "Destination folder:",IDC_002_STATIC,7,76,337,8 + LTEXT "Operation type:",IDC_003_STATIC,13,115,117,8 + LTEXT "Priority:",IDC_004_STATIC,181,115,120,8 + LTEXT "Buffer sizes:",IDC_006_STATIC,13,142,244,8 + CONTROL "",IDC_BAR3_STATIC,"Static",SS_ETCHEDHORZ,76,181,268,1 + CONTROL "",IDC_BAR4_STATIC,"Static",SS_ETCHEDHORZ,98,247,246,1 + CONTROL "",IDC_BAR5_STATIC,"Static",SS_ETCHEDHORZ,7,291,337,1 + CONTROL "",IDC_BAR2_STATIC,"Static",SS_ETCHEDHORZ,107,107,237,1 + CTEXT "Standard options",IDC_007_STATIC,20,104,80,8 + CONTROL "",IDC_BAR1_STATIC,"Static",SS_ETCHEDHORZ,7,107,8,1 + CONTROL "Create directory structure in destination folder (relatively to root directory)",IDC_FORCEDIRECTORIES_CHECK, + "Button",BS_AUTOCHECKBOX | BS_NOTIFY | WS_TABSTOP,13,266,329,10,0,HIDC_FORCEDIRECTORIES_CHECK + PUSHBUTTON "&Help",IDC_HELP_BUTTON,294,297,50,14,0,0,HIDC_HELP_BUTTON + PUSHBUTTON "&Export...",IDC_EXPORT_BUTTON,7,297,50,14 +END + +IDD_FILTER_DIALOG DIALOGEX 0, 0, 291, 266 +STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Filtering settings" +FONT 8, "Tahoma", 0, 0, 0x1 +BEGIN + CONTROL "Include mask (separate by vertical lines ie. *.jpg|*.gif)",IDC_FILTER_CHECK, + "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,7,277,10,0,HIDC_FILTER_CHECK + COMBOBOX IDC_FILTER_COMBO,15,19,269,98,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP,0,HIDC_FILTER_COMBO + CONTROL "Exclude mask",IDC_EXCLUDEMASK_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,35,277,10,0,HIDC_EXCLUDEMASK_CHECK + COMBOBOX IDC_FILTEREXCLUDE_COMBO,15,48,269,170,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP,0,HIDC_FILTEREXCLUDE_COMBO + CONTROL "Filtering by size",IDC_SIZE_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,66,277,10,0,HIDC_SIZE_CHECK + COMBOBOX IDC_SIZETYPE1_COMBO,63,81,34,140,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_SIZETYPE1_COMBO + EDITTEXT IDC_SIZE1_EDIT,100,80,77,14,ES_AUTOHSCROLL,0,HIDC_SIZE1_EDIT + CONTROL "Spin1",IDC_SIZE1_SPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,166,80,11,14,0,HIDC_SIZE1_SPIN + COMBOBOX IDC_SIZE1MULTI_COMBO,180,81,34,135,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_SIZE1MULTI_COMBO + CONTROL "and",IDC_SIZE2_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,30,101,32,10,0,HIDC_SIZE2_CHECK + COMBOBOX IDC_SIZETYPE2_COMBO,63,99,34,137,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_SIZETYPE2_COMBO + EDITTEXT IDC_SIZE2_EDIT,100,98,77,14,ES_AUTOHSCROLL,0,HIDC_SIZE2_EDIT + CONTROL "Spin1",IDC_SIZE2_SPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,166,98,11,14,0,HIDC_SIZE2_SPIN + COMBOBOX IDC_SIZE2MULTI_COMBO,180,99,34,143,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_SIZE2MULTI_COMBO + CONTROL "Filtering by date",IDC_DATE_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,124,277,10,0,HIDC_DATE_CHECK + COMBOBOX IDC_DATETYPE_COMBO,32,138,151,133,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_DATETYPE_COMBO + COMBOBOX IDC_DATE1TYPE_COMBO,58,158,48,104,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_DATE1TYPE_COMBO + CONTROL "DateTimePicker1",IDC_DATE1_DATETIMEPICKER, + "SysDateTimePick32",DTS_RIGHTALIGN | DTS_UPDOWN | DTS_SHOWNONE | WS_TABSTOP,108,157,109,15,0,HIDC_DATE1_DATETIMEPICKER + CONTROL "DateTimePicker2",IDC_TIME1_DATETIMEPICKER, + "SysDateTimePick32",DTS_RIGHTALIGN | DTS_UPDOWN | DTS_SHOWNONE | WS_TABSTOP | 0x8,220,157,64,15,0,HIDC_TIME1_DATETIMEPICKER + CONTROL "and",IDC_DATE2_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,25,176,30,10,0,HIDC_DATE2_CHECK + COMBOBOX IDC_DATE2TYPE_COMBO,58,174,48,107,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP,0,HIDC_DATE2TYPE_COMBO + CONTROL "DateTimePicker1",IDC_DATE2_DATETIMEPICKER, + "SysDateTimePick32",DTS_RIGHTALIGN | DTS_UPDOWN | DTS_SHOWNONE | WS_TABSTOP,108,173,109,15,0,HIDC_DATE2_DATETIMEPICKER + CONTROL "DateTimePicker2",IDC_TIME2_DATETIMEPICKER, + "SysDateTimePick32",DTS_RIGHTALIGN | DTS_UPDOWN | DTS_SHOWNONE | WS_TABSTOP | 0x8,220,173,64,15,0,HIDC_TIME2_DATETIMEPICKER + CONTROL "By attributes",IDC_ATTRIBUTES_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,199,277,10,0,HIDC_ATTRIBUTES_CHECK + CONTROL "Archive",IDC_ARCHIVE_CHECK,"Button",BS_AUTO3STATE | WS_TABSTOP,29,212,81,10,0,HIDC_ARCHIVE_CHECK + CONTROL "Read only",IDC_READONLY_CHECK,"Button",BS_AUTO3STATE | WS_TABSTOP,29,224,81,10,0,HIDC_READONLY_CHECK + CONTROL "Hidden",IDC_HIDDEN_CHECK,"Button",BS_AUTO3STATE | WS_TABSTOP,117,212,68,10,0,HIDC_HIDDEN_CHECK + CONTROL "System",IDC_SYSTEM_CHECK,"Button",BS_AUTO3STATE | WS_TABSTOP,117,224,68,10,0,HIDC_SYSTEM_CHECK + CONTROL "Directory",IDC_DIRECTORY_CHECK,"Button",BS_AUTO3STATE | NOT WS_VISIBLE | WS_DISABLED | WS_TABSTOP,191,212,93,10,0,HIDC_DIRECTORY_CHECK + DEFPUSHBUTTON "&OK",IDOK,127,245,50,14,0,0,HIDOK + PUSHBUTTON "&Cancel",IDCANCEL,179,245,50,14,0,0,HIDCANCEL + CONTROL "",IDC_001_STATIC,"Static",SS_ETCHEDHORZ,7,238,276,1 + PUSHBUTTON "&Help",IDC_HELP_BUTTON,234,245,50,14,0,0,HIDC_HELP_BUTTON +END + +IDD_SHORTCUTEDIT_DIALOG DIALOGEX 0, 0, 325, 206 +STYLE DS_SETFONT | DS_CENTER | DS_CONTEXTHELP | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_THICKFRAME +CAPTION "Shortcuts editing" +FONT 8, "Tahoma", 0, 0, 0x1 +BEGIN + CONTROL "List1",IDC_SHORTCUT_LIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS | LVS_AUTOARRANGE | LVS_EDITLABELS | WS_BORDER | WS_TABSTOP,7,16,261,88,0,HIDC_SHORTCUT_LIST + EDITTEXT IDC_NAME_EDIT,77,123,228,14,ES_AUTOHSCROLL,0,HIDC_NAME_EDIT + CONTROL "",IDC_PATH_COMBOBOXEX,"ComboBoxEx32",CBS_DROPDOWN | CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP,77,142,205,89,0,HIDC_PATH_COMBOBOXEX + PUSHBUTTON "...",IDC_BROWSE_BUTTON,286,142,18,13,0,0,HIDC_BROWSE_BUTTON + PUSHBUTTON "&Add",IDC_ADD_BUTTON,17,160,50,14,0,0,HIDC_ADD_BUTTON + PUSHBUTTON "&Update",IDC_CHANGE_BUTTON,69,160,50,14,0,0,HIDC_CHANGE_BUTTON + PUSHBUTTON "&Delete",IDC_DELETE_BUTTON,121,160,50,14,0,0,HIDC_DELETE_BUTTON + DEFPUSHBUTTON "&OK",IDOK,156,185,50,14,0,0,HIDOK + PUSHBUTTON "&Cancel",IDCANCEL,211,185,50,14,0,0,HIDCANCEL + LTEXT "Shortcuts:",IDC_001_STATIC,7,7,311,8 + LTEXT "Name:",IDC_002_STATIC,18,126,53,8 + LTEXT "Path:",IDC_003_STATIC,18,145,56,8 + GROUPBOX "Shortcut properties",IDC_004_STATIC,7,111,311,70 + PUSHBUTTON "Move up",IDC_UP_BUTTON,273,47,45,14,0,0,HIDC_UP_BUTTON + PUSHBUTTON "Move down",IDC_DOWN_BUTTON,273,63,45,14,0,0,HIDC_DOWN_BUTTON + PUSHBUTTON "&Help",IDC_HELP_BUTTON,268,185,50,14,0,0,HIDC_HELP_BUTTON +END + +IDD_RECENTEDIT_DIALOG DIALOGEX 0, 0, 325, 190 +STYLE DS_SETFONT | DS_CENTER | DS_CONTEXTHELP | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_THICKFRAME +CAPTION "Recent paths" +FONT 8, "Tahoma", 0, 0, 0x1 +BEGIN + CONTROL "List1",IDC_RECENT_LIST,"SysListView32",LVS_LIST | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS | LVS_AUTOARRANGE | LVS_EDITLABELS | WS_BORDER | WS_TABSTOP,7,16,311,88,0,HIDC_RECENT_LIST + EDITTEXT IDC_PATH_EDIT,20,123,266,14,ES_AUTOHSCROLL,0,HIDC_PATH_EDIT + PUSHBUTTON "...",IDC_BROWSE_BUTTON,290,123,18,14,0,0,HIDC_BROWSE_BUTTON + PUSHBUTTON "&Add",IDC_ADD_BUTTON,20,141,50,14,0,0,HIDC_ADD_BUTTON + PUSHBUTTON "&Update",IDC_CHANGE_BUTTON,72,141,50,14,0,0,HIDC_CHANGE_BUTTON + PUSHBUTTON "&Delete",IDC_DELETE_BUTTON,124,141,50,14,0,0,HIDC_DELETE_BUTTON + DEFPUSHBUTTON "&OK",IDOK,156,169,50,14,0,0,HIDOK + PUSHBUTTON "&Cancel",IDCANCEL,211,169,50,14,0,0,HIDCANCEL + LTEXT "Recently used paths:",IDC_001_STATIC,7,7,311,8 + GROUPBOX "Path",IDC_002_STATIC,7,110,311,51 + PUSHBUTTON "&Help",IDC_HELP_BUTTON,268,169,50,14,0,0,HIDC_HELP_BUTTON +END + +IDD_ABOUTBOX DIALOGEX 0, 0, 369, 164 +STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "About ..." +FONT 8, "Tahoma", 0, 0, 0x1 +BEGIN + DEFPUSHBUTTON "&OK",IDOK,306,143,56,14,WS_GROUP,0,HIDOK + ICON IDR_MAINFRAME,IDC_STATIC,11,14,20,20 + CTEXT "",IDC_COPYRIGHT_STATIC,40,93,322,8 + CONTROL "",IDC_HOMEPAGELINK_STATIC,"STATICEX",0x1,208,32,154,8 + CONTROL "",IDC_CONTACT1LINK_STATIC,"STATICEX",0x1,208,59,154,8 + CONTROL "",IDC_PROGRAM_STATICEX,"STATICEX",0x30,39,7,323,10 + CONTROL "",IDC_FULLVERSION_STATICEX,"STATICEX",0x10,39,20,133,8 + CONTROL "Home page:",IDC_HOMEPAGE_STATICEX,"STATICEX",0x10,185,20,68,8 + CONTROL "Contact:",IDC_CONTACT_STATICEX,"STATICEX",0x10,185,47,68,8 + CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,39,105,323,1 + CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,39,133,323,1 + CONTROL "This program is free software and may be distributed according to the terms of the GNU General Public License version 2.",IDC_LICENSE_STATICEX, + "STATICEX",0x90,46,111,310,16 + CTEXT "",IDC_LANGUAGE_STATIC,40,78,322,8 +END + +IDD_CRASH_DIALOG DIALOGEX 0, 0, 316, 138 +STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Application crashed" +FONT 8, "MS Shell Dlg", 400, 0, 0x1 +BEGIN + LTEXT "",IDC_STATIC_INFO,7,7,302,33 + PUSHBUTTON "",IDOK,207,117,102,14 + LTEXT "",IDC_VERSIONINFO_STATIC,20,49,83,8 + LTEXT "",IDC_LOCATIONINFO_STATIC,20,65,83,8 + LTEXT "",IDC_VERSION_STATIC,119,49,190,8 + EDITTEXT IDC_LOCATION_EDIT,119,65,190,46,ES_MULTILINE | ES_READONLY | NOT WS_BORDER +END + +IDD_UPDATER_DIALOG DIALOGEX 0, 0, 305, 147 +STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Copy Handler Update Information" +FONT 8, "MS Shell Dlg", 400, 0, 0x1 +BEGIN + DEFPUSHBUTTON "&Close",IDOK,248,126,50,14 + PUSHBUTTON "&Download latest version...",IDC_OPEN_WEBPAGE_BUTTON,130,126,112,14 + COMBOBOX IDC_UPDATECHANNEL_COMBO,159,101,139,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP + LTEXT "Update channel:",IDC_UPDATECHANNEL_STATIC,160,89,138,8 + LTEXT "Check for updates:",IDC_CHECKFORUPDATESFREQ_STATIC,7,89,142,8 + COMBOBOX IDC_UPDATESFREQ_COMBO,7,101,142,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP + CONTROL "",IDC_CHANGELOG_RICHEDIT,"RichEdit20W",ES_MULTILINE | ES_READONLY | ES_NUMBER | WS_VSCROLL | WS_TABSTOP,51,25,247,56 + ICON "",IDC_ICON_STATIC,15,15,20,20 + CONTROL "Custom1",IDC_MAINUPDATEINFO_CUSTOM,"STATICEX",0x30,47,7,251,14 +END + +IDD_FEEDBACK_REPLACE_DIALOG DIALOGEX 0, 0, 319, 186 +STYLE DS_SETFONT | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME +CAPTION "File already exists" +FONT 8, "MS Shell Dlg", 400, 0, 0x1 +BEGIN + PUSHBUTTON "&Replace",IDC_REPLACE_BUTTON,8,148,60,14 + PUSHBUTTON "&Append",IDC_COPY_REST_BUTTON,69,148,60,14 + PUSHBUTTON "&Skip",IDC_SKIP_BUTTON,130,148,60,14 + PUSHBUTTON "&Pause",IDC_PAUSE_BUTTON,191,148,60,14 + PUSHBUTTON "&Cancel",IDC_CANCEL_BUTTON,252,148,60,14 + CONTROL "&Apply to all items",IDC_ALL_ITEMS_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,169,305,10 + EDITTEXT IDC_SRC_FILENAME_EDIT,54,31,251,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER + EDITTEXT IDC_SRC_PATH_EDIT,54,42,251,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER + EDITTEXT IDC_SRC_FILESIZE_EDIT,54,53,251,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER + EDITTEXT IDC_SRC_MODIFIEDDATE_EDIT,54,64,251,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER + EDITTEXT IDC_DST_FILENAME_EDIT,54,94,251,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER + EDITTEXT IDC_DST_PATH_EDIT,54,105,251,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER + EDITTEXT IDC_DST_FILESIZE_EDIT,54,116,251,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER + EDITTEXT IDC_DST_MODIFIEDDATE_EDIT,54,127,251,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER + LTEXT "File you are trying to copy already exists. What do you want to do?",IDC_INFO_STATIC,7,7,305,15 + ICON "",IDC_SRC_ICON_STATIC,20,38,20,20 + ICON "",IDC_DST_ICON_STATIC,20,102,20,20 + GROUPBOX "Source file",IDC_SRCFILE_STATIC,7,20,305,58 + GROUPBOX "Destination file",IDC_DSTFILE_STATIC,7,83,305,58 +END + + +///////////////////////////////////////////////////////////////////////////// +// +// DESIGNINFO +// + +#ifdef APSTUDIO_INVOKED +GUIDELINES DESIGNINFO +BEGIN + IDD_MSGBOX_DIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 170 + TOPMARGIN, 7 + BOTTOMMARGIN, 63 + END + + IDD_BUFFERSIZE_DIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 338 + TOPMARGIN, 7 + BOTTOMMARGIN, 128 + END + + IDD_FEEDBACK_FILE_ERROR_DIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 276 + TOPMARGIN, 7 + BOTTOMMARGIN, 105 + END + + IDD_MINIVIEW_DIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 84 + TOPMARGIN, 7 + BOTTOMMARGIN, 16 + END + + IDD_OPTIONS_DIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 390 + TOPMARGIN, 7 + BOTTOMMARGIN, 207 + END + + IDD_STATUS_DIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 484 + TOPMARGIN, 7 + BOTTOMMARGIN, 295 + END + + IDD_FEEDBACK_NOTENOUGHSPACE_DIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 248 + TOPMARGIN, 7 + BOTTOMMARGIN, 140 + END + + IDD_SHUTDOWN_DIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 179 + TOPMARGIN, 7 + BOTTOMMARGIN, 79 + END + + IDD_CUSTOM_COPY_DIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 344 + TOPMARGIN, 7 + BOTTOMMARGIN, 311 + END + + IDD_FILTER_DIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 284 + TOPMARGIN, 7 + BOTTOMMARGIN, 259 + END + + IDD_SHORTCUTEDIT_DIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 318 + TOPMARGIN, 7 + BOTTOMMARGIN, 199 + END + + IDD_RECENTEDIT_DIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 318 + TOPMARGIN, 7 + BOTTOMMARGIN, 183 + END + + IDD_ABOUTBOX, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 362 + TOPMARGIN, 7 + BOTTOMMARGIN, 157 + END + + IDD_CRASH_DIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 309 + TOPMARGIN, 7 + BOTTOMMARGIN, 131 + END + + IDD_UPDATER_DIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 298 + TOPMARGIN, 7 + BOTTOMMARGIN, 140 + END + + IDD_FEEDBACK_REPLACE_DIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 312 + TOPMARGIN, 7 + BOTTOMMARGIN, 179 + END +END +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +IDR_MAINFRAME ICON "res\\ch.ico" + +IDI_ERROR_ICON ICON "res\\error.ico" + +IDI_WORKING_ICON ICON "res\\working.ico" + +IDI_PAUSED_ICON ICON "res\\paused.ico" + +IDI_FINISHED_ICON ICON "res\\finished.ico" + +IDI_CANCELLED_ICON ICON "res\\cancelled.ico" + +IDI_WAITING_ICON ICON "res\\waiting.ico" + +IDI_QUESTION_ICON ICON "res\\question.ico" + +IDI_INFO_ICON ICON "res\\info.ico" + +IDI_ERR_ICON ICON "res\\err.ico" + +IDI_WARNING_ICON ICON "res\\warning.ico" + +IDI_SHUTDOWN_ICON ICON "res\\shut.ico" + +IDI_NET_ICON ICON "res\\net.ico" + +IDI_HDD_ICON ICON "res\\hd.ico" + +IDI_CD_ICON ICON "res\\cd.ico" + +IDI_HDD2_ICON ICON "res\\HD2.ICO" + +IDI_TRIBE_ICON ICON "res\\tribe.ico" + +IDI_FOLDER_ICON ICON "res\\folder.ico" + +IDI_ADDSHORTCUT_ICON ICON "res\\addshort.ico" + +IDI_DELETESHORTCUT_ICON ICON "res\\delshort.ico" + +IDI_LARGEICONS_ICON ICON "res\\large.ico" + +IDI_LIST_ICON ICON "res\\list.ico" + +IDI_NEWFOLDER_ICON ICON "res\\newdir.ico" + +IDI_REPORT_ICON ICON "res\\report.ico" + +IDI_SMALLICONS_ICON ICON "res\\small.ico" + + +///////////////////////////////////////////////////////////////////////////// +// +// Menu +// + +IDR_POPUP_MENU MENU +BEGIN + POPUP "POPUP" + BEGIN + MENUITEM "Show status...", ID_POPUP_SHOW_STATUS + MENUITEM "Show mini-status...", ID_SHOW_MINI_VIEW + MENUITEM "Enter copy parameters...", ID_POPUP_CUSTOM_COPY + MENUITEM SEPARATOR + MENUITEM "Monitor clipboard", ID_POPUP_MONITORING, CHECKED + MENUITEM "Shutdown after finished", ID_POPUP_SHUTAFTERFINISHED, CHECKED + MENUITEM SEPARATOR + POPUP "&Tools|ID_POPUP_TOOLS" + BEGIN + MENUITEM "&Check for updates...", ID_POPUP_CHECKFORUPDATES + MENUITEM SEPARATOR + MENUITEM "&Enable integration with system", ID_POPUP_REGISTERDLL + MENUITEM "&Disable integration with system", ID_POPUP_UNREGISTERDLL + END + MENUITEM SEPARATOR + MENUITEM "&Options...", ID_POPUP_OPTIONS + MENUITEM "&Help...", ID_POPUP_HELP + MENUITEM "About...", ID_APP_ABOUT + MENUITEM SEPARATOR + MENUITEM "Exit", ID_APP_EXIT + END +END + +IDR_PRIORITY_MENU MENU +BEGIN + POPUP "_POPUP_" + BEGIN + MENUITEM "Time critical", ID_POPUP_TIME_CRITICAL + MENUITEM "Highest", ID_POPUP_HIGHEST + MENUITEM "Above normal", ID_POPUP_ABOVE_NORMAL + MENUITEM "Normal", ID_POPUP_NORMAL + MENUITEM "Below normal", ID_POPUP_BELOW_NORMAL + MENUITEM "Lowest", ID_POPUP_LOWEST + MENUITEM "Idle", ID_POPUP_IDLE + END +END + +IDR_TASK_ADVANCED_MENU MENU +BEGIN + POPUP "_POPUP_" + BEGIN + MENUITEM "Reset 'apply to all' status", ID_POPUP_RESET_APPLY_TO_ALL + END +END + + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#define _USING_V110_SDK71_ 1\r\n" + "#include ""afxres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "#define _AFX_NO_SPLITTER_RESOURCES\r\n" + "#define _AFX_NO_OLE_RESOURCES\r\n" + "#define _AFX_NO_TRACKER_RESOURCES\r\n" + "#define _AFX_NO_PROPERTY_RESOURCES\r\n" + "\r\n" + "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" + "#if defined(_WIN32) || defined(_WIN64)\r\n" + "LANGUAGE 9, 1\r\n" + "#pragma code_page(1252)\r\n" + "#endif\r\n" + "#include ""res\\ch.rc2"" // non-Microsoft Visual C++ edited resources\r\n" + "#include ""afxres.rc"" // Standard components\r\n" + "#endif\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// AFX_DIALOG_LAYOUT +// + +IDD_STATUS_DIALOG AFX_DIALOG_LAYOUT +BEGIN + 0 +END + +IDD_UPDATER_DIALOG AFX_DIALOG_LAYOUT +BEGIN + 0 +END + +IDD_FEEDBACK_REPLACE_DIALOG AFX_DIALOG_LAYOUT +BEGIN + 0 +END + +IDD_CUSTOM_COPY_DIALOG AFX_DIALOG_LAYOUT +BEGIN + 0 +END + +IDD_MSGBOX_DIALOG AFX_DIALOG_LAYOUT +BEGIN + 0 +END + +IDD_ABOUTBOX AFX_DIALOG_LAYOUT +BEGIN + 0 +END + +IDD_BUFFERSIZE_DIALOG AFX_DIALOG_LAYOUT +BEGIN + 0 +END + +IDD_CRASH_DIALOG AFX_DIALOG_LAYOUT +BEGIN + 0 +END + +IDD_FEEDBACK_FILE_ERROR_DIALOG AFX_DIALOG_LAYOUT +BEGIN + 0 +END + +IDD_FEEDBACK_NOTENOUGHSPACE_DIALOG AFX_DIALOG_LAYOUT +BEGIN + 0 +END + +IDD_FILTER_DIALOG AFX_DIALOG_LAYOUT +BEGIN + 0 +END + +IDD_OPTIONS_DIALOG AFX_DIALOG_LAYOUT +BEGIN + 0 +END + +IDD_RECENTEDIT_DIALOG AFX_DIALOG_LAYOUT +BEGIN + 0 +END + +IDD_SHORTCUTEDIT_DIALOG AFX_DIALOG_LAYOUT +BEGIN + 0 +END + +IDD_SHUTDOWN_DIALOG AFX_DIALOG_LAYOUT +BEGIN + 0 +END + + +///////////////////////////////////////////////////////////////////////////// +// +// String Table +// + +STRINGTABLE +BEGIN + IDS_ONECOPY_STRING "Cannot run the second instance of this program" + IDS_REGISTEROK_STRING "Integration with system enabled successfully." + IDS_REGISTERERR_STRING "Failed to enable integration with system." + IDS_UNREGISTEROK_STRING "Integration with system disabled successfully." + IDS_UNREGISTERERR_STRING "Failed to disable integration with system." + IDS_CRASH_STRING "Copy Handler encountered an internal problem and will be closed.\n\nIf you want to help correct this problem in the future releases of program you can send the crash information to the author of this program." + IDS_COMMAND_LINE_FAILED_STRING + "Cannot process command line arguments passed to Copy Handler." + IDS_REGISTERED_ONLYNATIVE + "Successfully enabled 64bit integration.\nFailed to enable 32bit integration." + IDS_REGISTERED_ONLY32BIT + "Failed to enable 64bit integration.\nSuccessfully enabled 32bit integration." +END + +STRINGTABLE +BEGIN + IDS_BROWSE_STRING "Choose path" + IDS_BDREMOTENAME_STRING "Remote name: " + IDS_BDLOCALNAME_STRING "Local name: " + IDS_BDTYPE_STRING "Type: " + IDS_BDNETTYPE_STRING "Network type: " + IDS_BDDESCRIPTION_STRING "Description: " + IDS_BDFREESPACE_STRING "Free space: " + IDS_BDCAPACITY_STRING "Capacity: " +END + +STRINGTABLE +BEGIN + IDS_FILEDLGALLFILTER_STRING "All files (*)|*||" + IDS_DSTFOLDERBROWSE_STRING "Choose destination folder" + IDS_MISSINGDATA_STRING "You didn't fill destination path or source file.\nProgram cannot continue" + IDS_CCDCOPY_STRING "Copy" + IDS_CCDMOVE_STRING "Move" + IDS_BSEDEFAULT_STRING "Default: %size" + IDS_BSEONEDISK_STRING "One Disk: %size" + IDS_BSETWODISKS_STRING "Two disks: %size" +END + +STRINGTABLE +BEGIN + IDS_APPNAME_STRING "Copy Handler" + IDS_PRIORITY0_STRING "Time critical" + IDS_PRIORITY1_STRING "Highest" + IDS_PRIORITY2_STRING "Above normal" + IDS_PRIORITY3_STRING "Normal" + IDS_PRIORITY4_STRING "Below normal" + IDS_PRIORITY5_STRING "Lowest" + IDS_PRIORITY6_STRING "Idle" +END + +STRINGTABLE +BEGIN + IDS_MINIVIEWALL_STRING "All:" +END + +STRINGTABLE +BEGIN + IDS_PROGRAM_STRING "Program" + IDS_CLIPBOARDMONITORING_STRING "Clipboard monitoring" + IDS_CLIPBOARDINTERVAL_STRING "Scan clipboard every ... [ms]" + IDS_AUTORUNPROGRAM_STRING "Run program with system" + IDS_AUTOSHUTDOWN_STRING "Shutdown system after copying finishes" + IDS_AUTOSAVEINTERVAL_STRING "Autosave every ... [ms]" + IDS_TEMPFOLDER_STRING "Folder for temporary data" + IDS_STATUSWINDOW_STRING "Status window" + IDS_REFRESHSTATUSINTERVAL_STRING "Refresh status every ... [ms]" + IDS_STATUSSHOWDETAILS_STRING "Show details in status window" + IDS_STATUSAUTOREMOVE_STRING "Automatically remove finished tasks" + IDS_MINIVIEW_STRING "Miniview" + IDS_SHOWFILENAMES_STRING "Show file names" + IDS_SHOWSINGLETASKS_STRING "Show single tasks" + IDS_MINIVIEWREFRESHINTERVAL_STRING "Refresh status every ... [ms]" + IDS_MINIVIEWSHOWAFTERSTART_STRING "Show at program startup" +END + +STRINGTABLE +BEGIN + IDS_CFGSHSHOWICONS_STRING "Show icons with shortcuts" + IDS_CFGSHINTERCEPTDRAG_STRING "Intercept drag&drop operations" + IDS_CFGSHORTCUTS_STRING "Shortcuts" + IDS_CFGRECENT_STRING "Recently used paths" + IDS_CFGSHELL_STRING "Shell" + IDS_CFGSCCOUNT_STRING "Defined shortcuts' count" + IDS_CFGRPCOUNT_STRING "Count of recent paths" + IDS_CFGINTERCEPTKEYACTION_STRING "Intercept shell keyboard actions" + IDS_CFGPRIORITYCLASS_STRING "Application's priority class" + IDS_CFGDISABLEPRIORITYBOOST_STRING "Disable priority boosting" + IDS_BOOLTEXT_STRING "No!Yes" + IDS_TEMPFOLDERCHOOSE_STRING "!Choose temporary folder" + IDS_FEEDBACKTYPE_STRING "Disabled!Normal!Heavy" + IDS_SOUNDSWAVFILTER_STRING "!Sound files (.wav)|*.wav||" + IDS_FORCESHUTDOWNVALUES_STRING "Normal!Force" +END + +STRINGTABLE +BEGIN + IDS_CFGINTERCEPTCONTEXTMENU_STRING "Intercept standard Windows operations" + IDS_CFG_CHECK_FOR_UPDATES_FREQUENCY "Check for program updates" + IDS_CFG_UPDATECHANNEL "Update channel" + IDS_CFGLOGLEVEL_VALUES "Trace!Debug!Info!Warning!Error!Fatal" + IDS_UPDATE_FREQUENCIES "Never!Every startup!Daily!Weekly!Once every 2 weeks!Monthly!Quarterly" + IDS_BUFFER_QUEUE_DEPTH "Buffer queue depth" + IDS_FASTMOVEBEFOREBLOCK_STRING "Use fast move before blocking" + IDS_CFG_USE_SECURE_CONNECTION + "Use secure connection when checking for updates" + IDS_SECURE_CONNECTION_TYPES "No!Yes!Auto" + IDS_USECUSTOMNAMING "Use custom naming" + IDS_CUSTOMNAME_FIRST "Name format for first copy (use %name, %ext)" + IDS_CUSTOMNAME_SUBSEQUENT + "Name format for the subsequent copies (use %name, %ext, %count)" + IDS_CFGLOGLEVEL_APP "Log level - application" + IDS_CFGLOGLEVEL_ENGINEDEFAULT "Log level - engine" + IDS_CFGLOGLEVEL_SERIALIZER "Log level - data serializer" +END + +STRINGTABLE +BEGIN + IDS_CFGLOGLEVEL_TASK "Log level - task" + IDS_CFGLOGLEVEL_SUBTASK_SCANDIR "Log level - subtask - scan directory" + IDS_CFGLOGLEVEL_SUBTASK_COPYMOVE "Log level - subtask - copy/move" + IDS_CFGLOGLEVEL_SUBTASK_FASTMOVE "Log level - subtask - fast move" + IDS_CFGLOGLEVEL_SUBTASK_DELETE "Log level - subtask - delete" + IDS_CFGLOGLEVEL_FILESYSTEM "Log level - filesystem" +END + +STRINGTABLE +BEGIN + IDS_MINIVIEWAUTOHIDE_STRING "Hide when empty" + IDS_PROCESSINGTHREAD_STRING "Copying/moving thread" + IDS_AUTOCOPYREST_STRING "Auto ""copy-rest"" of files" + IDS_SETDESTATTRIB_STRING "Set dates and attributes of destination files and directories" + IDS_PROTECTROFILES_STRING "Protect read-only files" + IDS_LIMITOPERATIONS_STRING + "Limit maximum operations running simultaneously ..." + IDS_DEFAULTPRIORITY_STRING "Default thread priority" + IDS_AUTODETECTBUFFERSIZE_STRING "Use only default buffer" + IDS_DEFAULTBUFFERSIZE_STRING "Default buffer size" + IDS_DELETEAFTERFINISHED_STRING + "Don't delete files before copying finishes (moving)" +END + +STRINGTABLE +BEGIN + IDS_CREATELOGFILES_STRING "Create .log files" + IDS_SOUNDS_STRING "Sounds" + IDS_PLAYSOUNDS_STRING "Playing sounds" + IDS_SOUNDONERROR_STRING "Sound on error" + IDS_SOUNDONFINISH_STRING "Sound on copying finished" + IDS_LANGUAGE_STRING "Language" + IDS_READSIZEBEFOREBLOCK_STRING "Read tasks size before blocking" + IDS_USENOBUFFERING_STRING "Disable buffering for large files" + IDS_LARGEFILESMINSIZE_STRING + "Minimum file size for which buffering should be turned off" + IDS_OPTIONSBUFFER_STRING "Buffer" + IDS_ONEDISKBUFFERSIZE_STRING + "Buffer size for copying inside one physical disk boundary" + IDS_TWODISKSBUFFERSIZE_STRING + "Buffer size for copying between two different disks" + IDS_CDBUFFERSIZE_STRING "Buffer size for copying from CD-ROM" + IDS_LANBUFFERSIZE_STRING "Buffer size for copying over a network" + IDS_SHUTDOWNTIME_STRING "Wait ... [ms] before shutdown" + IDS_FORCESHUTDOWN_STRING "Type of shutdown" +END + +STRINGTABLE +BEGIN + IDS_SOURCESTRINGMISSING_STRING "You didn't enter source text" +END + +STRINGTABLE +BEGIN + IDS_COLUMNSTATUS_STRING "Status" + IDS_COLUMNSOURCE_STRING "File" + IDS_COLUMNDESTINATION_STRING "To:" + IDS_COLUMNPROGRESS_STRING "Progress" +END + +STRINGTABLE +BEGIN + IDS_EMPTYOPERATIONTEXT_STRING "None of tasks selected" + IDS_EMPTYSOURCETEXT_STRING "empty" + IDS_EMPTYDESTINATIONTEXT_STRING "empty" + IDS_EMPTYBUFFERSIZETEXT_STRING "unused" + IDS_EMPTYPRIORITYTEXT_STRING "unknown" + IDS_EMPTYPROCESSEDTEXT_STRING "empty" + IDS_EMPTYTRANSFERTEXT_STRING "unknown" + IDS_EMPTYTIMETEXT_STRING "00:00 / 00:00 (00:00)" + IDS_CURRENTPASS_STRING "pass: " + IDS_AVERAGEWORD_STRING "avg: " + IDS_STATUSTITLE_STRING "Status" + IDS_REPLACEPATHSTEXT_STRING + "Changed:\n%count paths primarily got from clipboard" + IDS_TASKNOTPAUSED_STRING "Selected task isn't paused" + IDS_TASKNOTSELECTED_STRING "Task not selected" + IDS_NONEINPUTFILE_STRING "none" +END + +STRINGTABLE +BEGIN + IDS_BUFFERSIZEZERO_STRING "Cannot operate with buffer of 0 size" +END + +STRINGTABLE +BEGIN + IDS_TITLECOPY_STRING "Copying..." + IDS_TITLEMOVE_STRING "Moving..." + IDS_TITLEUNKNOWNOPERATION_STRING + "Unknown operation type - this shouldn't happen" + IDS_MAINBROWSETEXT_STRING "Enter destination path for:\n" +END + +STRINGTABLE +BEGIN + IDS_STATUS_INITIALIZING_STRING "Initializing" + IDS_STATUS_FASTMOVE_STRING "Fast moving" + IDS_EMPTYSUBTASKNAME_STRING "none" + IDS_STATUS_LOADERROR_STRING "Load error" + IDS_EXPORTING_TASK_FAILED "Exporting task data failed. Reason: %reason." + IDS_BUTTON_TRUNCATE_STRING "&Truncate" +END + +STRINGTABLE +BEGIN + IDS_STATUS_SEARCHING_STRING "Searching" + IDS_STATUS_COPYING_STRING "Copying" + IDS_STATUS_MOVING_STRING "Moving" + IDS_STATUS_FINISHED_STRING "Finished" + IDS_STATUS_ERROR_STRING "Error" + IDS_STATUS_PAUSED_STRING "Paused" + IDS_STATUS_DELETING_STRING "Deleting" + IDS_STATUS_UNKNOWN_STRING "Unknown" + IDS_STATUS_CANCELLED_STRING "Cancelled" + IDS_STATUS_WAITING_STRING "Waiting" + IDS_STATUS_ONLY_FILES_STRING "Only files" + IDS_STATUS_WITHOUT_CONTENTS_STRING "Without contents" + IDS_SHELLEXECUTEERROR_STRING + "Error #%errno calling ShellExecute for file %path" + IDS_BSDEFAULT_STRING "Default: " +END + +STRINGTABLE +BEGIN + IDS_FIRSTCOPY_STRING "%name - copy%ext" + IDS_NEXTCOPY_STRING "%name - copy (%count)%ext" + IDS_NOTFOUND_STRING "File not found (doesn't exist)" + IDS_BYTE_STRING "B" + IDS_KBYTE_STRING "kB" + IDS_MBYTE_STRING "MB" + IDS_GBYTE_STRING "GB" + IDS_TBYTE_STRING "TB" + IDS_PBYTE_STRING "PB" + IDS_LT_STRING "<" + IDS_LE_STRING "<=" + IDS_EQ_STRING "=" + IDS_GE_STRING ">=" + IDS_GT_STRING ">" + IDS_UPDATER_NEW_VERSION_STRING + "Updated version: %officialver (%numericver).\nReleased: %reldate" +END + +STRINGTABLE +BEGIN + IDS_DIALOGS_SHOW_HIDE_STRING "Show/hide dialogs" + IDS_SHELLEXT_REGISTER_SHOWHIDE_STRING + "Show message about shell extension not registered" + IDS_SHELLEXT_VERSIONMISMATCH_SHOWHIDE_STRING + "Show message about shell extension version mismatch" + IDS_SHELLEXT_XML_IMPORT_FAILED + "Encountered an error when communicating with CH Shell Extension.\nDetails:\n%err" + IDS_UPDATER_NEWUPDATE_STRING "Updates are available" + IDS_UPDATER_CHECKINGFORUPDATES "Checking for updates..." + IDS_UPDATER_KILLEDERROR "Checking for updates was stopped" + IDS_UPDATER_ALREADYNEWESTVERSION "You already have the newest version" + IDS_UPDATER_NEWVERSIONEXISTS "There are updates available" + IDS_UPDATER_RELEASENOTES "Release notes:" + IDS_FINALIZE_CH_ERROR "Failed to finalize Copy Handler. Some information about tasks being processed might be lost. Error: %reason." +END + +STRINGTABLE +BEGIN + IDS_BSONEDISK_STRING "One disk: " + IDS_BSTWODISKS_STRING "Two disks: " + IDS_BSCD_STRING "CD: " + IDS_BSLAN_STRING "LAN: " + IDS_EMPTYTASKID_STRING "not associated" + IDS_FILTERING_STRING " [with filter]" + IDS_CONFIRMCANCEL_STRING + "Selected task wasn't finished yet.\nDo you want to finish it now ?" +END + +STRINGTABLE +BEGIN + IDS_SHUTDOWNERROR_STRING + "Cannot shutdown this operating system.\nEncountered error #%errno." +END + +STRINGTABLE +BEGIN + IDS_MINIVIEWSMOOTHPROGRESS_STRING "Use smooth progress bars" + IDS_CFGFOLDERDIALOG_STRING "Choose folder dialog" + IDS_CFGFDEXTVIEW_STRING "Show extended view" + IDS_CFGFDWIDTH_STRING "Dialog width [pixels]" + IDS_CFGFDHEIGHT_STRING "Dialog height [pixels]" + IDS_CFGFDSHORTCUTS_STRING "Shortcuts' list style" + IDS_CFGFDIGNOREDIALOGS_STRING "Ignore additional shell dialogs" + IDS_CFGSHCOPY_STRING "Show 'Copy' command in drag&drop menu" + IDS_CFGSHMOVE_STRING "Show 'Move' command in drag&drop menu" + IDS_CFGSHCMSPECIAL_STRING + "Show 'Copy/move special' command in drag&drop menu" + IDS_CFGSHPASTE_STRING "Show 'Paste' command in context menu" + IDS_CFGSHPASTESPECIAL_STRING + "Show 'Paste special' command in context menu" + IDS_CFGSHCOPYTO_STRING "Show 'Copy to' command in context menu" + IDS_CFGSHMOVETO_STRING "Show 'Move to' command in context menu" + IDS_CFGSHCMTOSPECIAL_STRING + "Show 'Copy/move special to' command in context menu" + IDS_CFGSHSHOWFREESPACE_STRING "Show free space with shortcuts' names" +END + +STRINGTABLE +BEGIN + IDS_BSECD_STRING "CD: %size" + IDS_BSELAN_STRING "LAN: %size" + IDS_HDRMASK_STRING "Include mask" + IDS_HDRSIZE_STRING "Size" + IDS_HDRDATE_STRING "Date" + IDS_HDRATTRIB_STRING "Attributes included" + IDS_AND_STRING " and " + IDS_FILTERMASKEMPTY_STRING "none" + IDS_FILTERSIZE_STRING "any" + IDS_FILTERDATE_STRING "any" + IDS_HDREXCLUDEMASK_STRING "Exclude mask" + IDS_HDREXCLUDEATTRIB_STRING "Attributes excluded" + IDS_FILTERATTRIB_STRING "none" + IDS_EMPTYFILTER_STRING "None of filtering options were selected" + IDS_FLTALLFILTER_STRING "All files (*.*)|*.*||" + IDS_IMPORTREPORT_STRING "Imported %count path(s)" +END + +STRINGTABLE +BEGIN + IDS_IMPORTERROR_STRING "Cannot import paths from the specified file" + IDS_ERROR_INITIALIZING_COMMON_CONTROLS + "Cannot initialize common controls. The application will now exit." + IDS_ERROR_INITIALIZING_RICH_EDIT_CONTROL + "Cannot initialize rich edit control. The application will now exit." +END + +STRINGTABLE +BEGIN + IDS_DATECREATED_STRING "Date of creation" + IDS_DATELASTWRITE_STRING "Date of last write" + IDS_DATEACCESSED_STRING "Date of last access" +END + +STRINGTABLE +BEGIN + IDS_MENUCOPY_STRING "(CH) Copy here" + IDS_MENUMOVE_STRING "(CH) Move here" + IDS_MENUCOPYMOVESPECIAL_STRING "(CH) Copy/move special..." + IDS_MENUPASTE_STRING "(CH) Paste" + IDS_MENUPASTESPECIAL_STRING "(CH) Paste special..." + IDS_MENUCOPYTO_STRING "(CH) Copy to" + IDS_MENUMOVETO_STRING "(CH) Move to" + IDS_MENUCOPYMOVETOSPECIAL_STRING "(CH) Copy/move special to..." +END + +STRINGTABLE +BEGIN + IDS_MENUTIPCOPY_STRING "Copies data here with Copy Handler" + IDS_MENUTIPMOVE_STRING "Moves data here with Copy Handler" + IDS_MENUTIPCOPYMOVESPECIAL_STRING + "Copies/moves data with additional settings" + IDS_MENUTIPPASTE_STRING "Pastes files/folders from clipboard here" + IDS_MENUTIPPASTESPECIAL_STRING + "Pastes files/folders from clipboard here with additional settings" + IDS_MENUTIPCOPYTO_STRING "Copies selected data into specified folder" + IDS_MENUTIPMOVETO_STRING "Moves selected data into specified folder" + IDS_MENUTIPCOPYMOVETOSPECIAL_STRING + "Copies/moves selected data into specified folder with additional settings" + IDS_SHELLEXT_CHOOSE_DIR_STRING "Choose directory..." + IDS_SHELLEXT_CHOOSE_DIR_TOOLTIP_STRING + "Allows to choose the destination directory" +END + +STRINGTABLE +BEGIN + IDS_CFGFDSHORTCUTSSTYLES_STRING "Large icons!Small icons!List!Report" + IDS_CFGPRIORITYCLASSITEMS_STRING "Idle!Normal!High!Real-time" + IDS_CFGUPDATECHANNELITEMS_STRING "Stable!Release Candidate!Beta!Alpha" + IDS_PLUGSFOLDER_STRING "Folder with plugins" + IDS_PLUGSFOLDERCHOOSE_STRING "!Choose folder with plugins" + IDS_CFGLOGFILE_STRING "Debugging" + IDS_CFGMAXLIMIT_STRING "Maximum size of the log file" + IDS_CFGROTATEDCOUNT_STRING "Maximum count of rotated log files to keep" + IDS_CFGHELPDIR_STRING "Directory with help files" + IDS_CFGHELPDIRCHOOSE_STRING "!Choose folder with program's help files" + IDS_LANGUAGESFOLDER_STRING "Directory with language files" + IDS_LANGSFOLDERCHOOSE_STRING "!Choose folder with language files" + IDS_ABOUT_LANGUAGE_STRING + "Current language: %langname, Author(s): %authors" +END + +STRINGTABLE +BEGIN + IDS_SHORTCUTNAME_STRING "Shortcut's name" + IDS_SHORTCUTPATH_STRING "Path" +END + +STRINGTABLE +BEGIN + IDS_BDOK_STRING "&OK" + IDS_BDCANCEL_STRING "&Cancel" + IDS_BDCANNOTCREATEFOLDER_STRING "Cannot create the folder" + IDS_BDPATHDOESNTEXIST_STRING "Entered path doesn't exist" + IDS_BDNAME_STRING "Name" + IDS_BDPATH_STRING "Path" + IDS_BDPATH2_STRING "Path: " + IDS_BDRIGHT_STRING ">>" + IDS_BDLEFT_STRING "<<" + IDS_BDNOSHORTCUTPATH_STRING + "You haven't entered the path for this shortcut" + IDS_BDNEWFOLDER_STRING "Create new folder" + IDS_BDLARGEICONS_STRING "Large icons" + IDS_BDSMALLICONS_STRING "Small icons" + IDS_BDLIST_STRING "List" + IDS_BDREPORT_STRING "Report" + IDS_BDDETAILS_STRING "Details" +END + +STRINGTABLE +BEGIN + IDS_BDADDSHORTCUT_STRING "Add to shortcut's list" + IDS_BDREMOVESHORTCUT_STRING "Remove from shortcut's list" + IDS_BDDOMAIN_STRING "Domain/Workgroup" + IDS_BDSERVER_STRING "Server" + IDS_BDSHARE_STRING "Share" + IDS_BDFILE_STRING "File" + IDS_BDGROUP_STRING "Group" + IDS_BDNETWORK_STRING "Network" + IDS_BDROOT_STRING "Root" + IDS_BDADMINSHARE_STRING "Administration share" + IDS_BDDIR_STRING "Directory" + IDS_BDTREE_STRING "Tree" + IDS_BDNDSCONTAINER_STRING "NDS Container" + IDS_INFO_PATH_STRING "Location: %pathname" + IDS_INFO_SIZE_STRING "Size: %size" + IDS_INFO_MODIFIED_STRING "Modified: %datemod" +END + +STRINGTABLE +BEGIN + IDS_INFO_REASON_STRING "Reason: %reason" + IDS_INFO_FILE_STRING "File: %filename" +END + +STRINGTABLE +BEGIN + IDS_INFO_TWO_FILE_STRING + "Source file: %filename\nDestination file: %dstfilename" + IDS_OK_STRING "&OK" + IDS_CANCEL_STRING "&Cancel" + IDS_YES_STRING "&Yes" + IDS_NO_STRING "&No" +END + +STRINGTABLE +BEGIN + IDS_ABOUTVERSION_STRING "Compilation: " +END + +STRINGTABLE +BEGIN + IDS_NERPATH_STRING "There is not enough room in %path to copy or move:" +END + +STRINGTABLE +BEGIN + IDS_UPDATER_EQUAL_VERSION_STRING + "Your current version: %thisver (%thisnumericver)" + IDS_UPDATER_ERROR_STRING "Check for updates error" + IDS_UPDATER_WAITING_STRING "Connecting with %site..." + IDS_SHELL_EXTENSION_MISMATCH_STRING + "Copy Handler detected an incompatible version of Shell Extension component.\nWould you like to update it now (requires administrative rights)?" + IDS_SHELL_EXTENSION_UNREGISTERED_STRING + "Copy Handler detected that Shell Extension component is not enabled.\nDo you want to enable it now (requires administrative rights)?" + IDS_SHELL_EXTENSION_REGISTERED_MISMATCH_STRING + "Copy Handler registered new Shell Extension component, but the old one is still in use by system.\nPlease reboot your system for changes to take effect." + IDS_CH_PORTABLE_STRING " (portable mode)" + IDS_TASK_IMPORT_FAILED "Failed to import task '%path'." + IDS_TASK_CREATE_FAILED "Cannot create new task. Reason: %reason." + IDS_TASKMANAGER_LOAD_FAILED + "Failed to load task list database. Copy Handler will create a new, empty database for you." + IDS_DO_NOT_SHOW_AGAIN_STRING "Do not show this message again" + IDS_ALWAYS_SHOW_STRING "Always show" + IDS_HIDE_AND_REGISTER "Hide and register extension" + IDS_HIDE_AND_DONT_REGISTER "Hide and do not register extension" +END + +#endif // English (United States) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// +#define _AFX_NO_SPLITTER_RESOURCES +#define _AFX_NO_OLE_RESOURCES +#define _AFX_NO_TRACKER_RESOURCES +#define _AFX_NO_PROPERTY_RESOURCES + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#if defined(_WIN32) || defined(_WIN64) +LANGUAGE 9, 1 +#pragma code_page(1252) +#endif +#include "res\ch.rc2" // non-Microsoft Visual C++ edited resources +#include "afxres.rc" // Standard components +#endif +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + Index: src/ch/resource.h =================================================================== diff -u -rb556d023b748dfea230575959b6513acf29fd7b3 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/ch/resource.h (.../resource.h) (revision b556d023b748dfea230575959b6513acf29fd7b3) +++ src/ch/resource.h (.../resource.h) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -452,7 +452,6 @@ #define IDS_PROCESSINGTHREAD_STRING 8017 #define IDS_AUTOCOPYREST_STRING 8018 #define IDS_SETDESTATTRIB_STRING 8019 -#define IDS_SETDESTTIME_STRING 8020 #define IDS_PROTECTROFILES_STRING 8021 #define IDS_LIMITOPERATIONS_STRING 8022 #define IDS_DEFAULTPRIORITY_STRING 8028 Index: src/libchcore/ErrorCodes.h =================================================================== diff -u -r38031c379667959206abe69507d8a4e3b040dba6 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/ErrorCodes.h (.../ErrorCodes.h) (revision 38031c379667959206abe69507d8a4e3b040dba6) +++ src/libchcore/ErrorCodes.h (.../ErrorCodes.h) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -89,6 +89,7 @@ eErr_CannotFastMove = 3014, eErr_CannotGetFreeSpace = 3015, eErr_CancelIoFailed = 3016, + eErr_CannotSetFileInfo = 3017, // Task handling errors (4000+) eErr_MissingTaskSerializationPath = 4000, Index: src/libchcore/IFilesystem.h =================================================================== diff -u -ra4635addad389b9e117679437a3e1b64a739ea96 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/IFilesystem.h (.../IFilesystem.h) (revision a4635addad389b9e117679437a3e1b64a739ea96) +++ src/libchcore/IFilesystem.h (.../IFilesystem.h) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -46,7 +46,7 @@ virtual bool PathExist(const TSmartPath& strPath) = 0; - virtual void SetFileDirectoryTime(const TSmartPath& pathFileDir, const TFileTime& ftCreationTime, const TFileTime& ftLastAccessTime, const TFileTime& ftLastWriteTime) = 0; + virtual void SetFileDirBasicInfo(const TSmartPath& pathFileDir, DWORD dwAttributes, const TFileTime& ftCreationTime, const TFileTime& ftLastAccessTime, const TFileTime& ftLastWriteTime) = 0; virtual void SetAttributes(const TSmartPath& pathFileDir, DWORD dwAttributes) = 0; virtual void CreateDirectory(const TSmartPath& pathDirectory, bool bCreateFullPath) = 0; Index: src/libchcore/IFilesystemFile.h =================================================================== diff -u -r38031c379667959206abe69507d8a4e3b040dba6 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/IFilesystemFile.h (.../IFilesystemFile.h) (revision 38031c379667959206abe69507d8a4e3b040dba6) +++ src/libchcore/IFilesystemFile.h (.../IFilesystemFile.h) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -25,6 +25,7 @@ namespace chcore { + class TFileTime; class TOverlappedDataBuffer; class TFileInfo; @@ -61,6 +62,8 @@ virtual TSmartPath GetFilePath() const = 0; virtual file_size_t GetSeekPositionForResume(file_size_t fsLastAvailablePosition) = 0; + + virtual void SetBasicInfo(DWORD dwAttributes, const TFileTime& ftCreationTime, const TFileTime& ftLastAccessTime, const TFileTime& ftLastWriteTime) = 0; }; typedef std::shared_ptr IFilesystemFilePtr; Index: src/libchcore/TFilesystemFeedbackWrapper.cpp =================================================================== diff -u -ra4635addad389b9e117679437a3e1b64a739ea96 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/TFilesystemFeedbackWrapper.cpp (.../TFilesystemFeedbackWrapper.cpp) (revision a4635addad389b9e117679437a3e1b64a739ea96) +++ src/libchcore/TFilesystemFeedbackWrapper.cpp (.../TFilesystemFeedbackWrapper.cpp) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -423,4 +423,53 @@ return TSubTaskBase::eSubResult_Continue; } + + TSubTaskBase::ESubOperationResult TFilesystemFeedbackWrapper::SetFileDirBasicInfo(const TSmartPath& pathFileDir, DWORD dwAttributes, + const TFileTime& ftCreationTime, const TFileTime& ftLastAccessTime, const TFileTime& ftLastWriteTime) + { + bool bRetry = false; + do + { + bRetry = false; + + // read attributes of src file/folder + DWORD dwLastError = ERROR_SUCCESS; + try + { + m_spFilesystem->SetFileDirBasicInfo(pathFileDir, dwAttributes, ftCreationTime, ftLastAccessTime, ftLastWriteTime); + return TSubTaskBase::eSubResult_Continue; + } + catch(const TFileException& e) + { + dwLastError = e.GetNativeError(); + } + + TFeedbackResult frResult = m_spFeedbackHandler->FileError(pathFileDir.ToWString(), TString(), EFileError::eRetrieveFileInfo, dwLastError); + switch(frResult.GetResult()) + { + case eResult_Cancel: + return TSubTaskBase::eSubResult_CancelRequest; + + case eResult_Retry: + bRetry = true; + break; + + case eResult_Pause: + return TSubTaskBase::eSubResult_PauseRequest; + + case eResult_Skip: + return TSubTaskBase::eSubResult_SkipFile; + + default: + BOOST_ASSERT(FALSE); // unknown result + throw TCoreException(eErr_UnhandledCase, L"Feedback result unknown", LOCATION); + } + + if(WasKillRequested(frResult)) + return TSubTaskBase::eSubResult_KillRequest; + } + while(bRetry); + + return TSubTaskBase::eSubResult_Continue; + } } Index: src/libchcore/TFilesystemFeedbackWrapper.h =================================================================== diff -u -ra4635addad389b9e117679437a3e1b64a739ea96 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/TFilesystemFeedbackWrapper.h (.../TFilesystemFeedbackWrapper.h) (revision a4635addad389b9e117679437a3e1b64a739ea96) +++ src/libchcore/TFilesystemFeedbackWrapper.h (.../TFilesystemFeedbackWrapper.h) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -30,11 +30,13 @@ class TFilesystemFeedbackWrapper { public: - TFilesystemFeedbackWrapper(const IFeedbackHandlerPtr& spFeedbackHandler, const IFilesystemPtr& spFilesystem, const logger::TLogFileDataPtr& spLogFileData, TWorkerThreadController& rThreadController); + TFilesystemFeedbackWrapper(const IFeedbackHandlerPtr& spFeedbackHandler, const IFilesystemPtr& spFilesystem, + const logger::TLogFileDataPtr& spLogFileData, TWorkerThreadController& rThreadController); TFilesystemFeedbackWrapper& operator=(const TFilesystemFeedbackWrapper&) = delete; TSubTaskBase::ESubOperationResult CreateDirectoryFB(const TSmartPath& pathDirectory); - TSubTaskBase::ESubOperationResult CheckForFreeSpaceFB(const TSmartPath& pathFirstSrc, const TSmartPath& pathDestination, unsigned long long ullNeededSize); + TSubTaskBase::ESubOperationResult CheckForFreeSpaceFB(const TSmartPath& pathFirstSrc, const TSmartPath& pathDestination, + unsigned long long ullNeededSize); TSubTaskBase::ESubOperationResult RemoveDirectoryFB(const TFileInfoPtr& spFileInfo, bool bProtectReadOnlyFiles); TSubTaskBase::ESubOperationResult DeleteFileFB(const TFileInfoPtr& spFileInfo, bool bProtectReadOnlyFiles); @@ -45,6 +47,9 @@ TSubTaskBase::ESubOperationResult GetFileInfoFB(const TSmartPath& pathCurrent, TFileInfoPtr& spFileInfo, const TBasePathDataPtr& spBasePath); + TSubTaskBase::ESubOperationResult SetFileDirBasicInfo(const TSmartPath& pathFileDir, DWORD dwAttributes, const TFileTime& ftCreationTime, + const TFileTime& ftLastAccessTime, const TFileTime& ftLastWriteTime); + private: bool WasKillRequested(const TFeedbackResult& rFeedbackResult) const; Index: src/libchcore/TFilesystemFileFeedbackWrapper.cpp =================================================================== diff -u -r38031c379667959206abe69507d8a4e3b040dba6 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/TFilesystemFileFeedbackWrapper.cpp (.../TFilesystemFileFeedbackWrapper.cpp) (revision 38031c379667959206abe69507d8a4e3b040dba6) +++ src/libchcore/TFilesystemFileFeedbackWrapper.cpp (.../TFilesystemFileFeedbackWrapper.cpp) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -498,6 +498,59 @@ return m_spFile->GetSeekPositionForResume(fsLastAvailablePosition); } + TSubTaskBase::ESubOperationResult TFilesystemFileFeedbackWrapper::SetBasicInfo(DWORD dwAttributes, const TFileTime& ftCreationTime, const TFileTime& ftLastAccessTime, const TFileTime& ftLastWriteTime) + { + bool bRetry = false; + do + { + bRetry = false; + + DWORD dwLastError = ERROR_SUCCESS; + + try + { + m_spFile->SetBasicInfo(dwAttributes, ftCreationTime, ftLastAccessTime, ftLastWriteTime); + return TSubTaskBase::eSubResult_Continue; + } + catch(const TFileException& e) + { + dwLastError = e.GetNativeError(); + } + + TString strFormat = _T("Error %errno while trying to set basic file info for %path"); + strFormat.Replace(_T("%errno"), boost::lexical_cast(dwLastError).c_str()); + strFormat.Replace(_T("%path"), m_spFile->GetFilePath().ToString()); + LOG_ERROR(m_spLog) << strFormat.c_str(); + + TFeedbackResult frResult = m_spFeedbackHandler->FileError(m_spFile->GetFilePath().ToWString(), TString(), EFileError::eRetrieveFileInfo, dwLastError); + switch(frResult.GetResult()) + { + case eResult_Cancel: + return TSubTaskBase::eSubResult_CancelRequest; + + case eResult_Retry: + bRetry = true; + break; + + case eResult_Pause: + return TSubTaskBase::eSubResult_PauseRequest; + + case eResult_Skip: + return TSubTaskBase::eSubResult_SkipFile; + + default: + BOOST_ASSERT(FALSE); // unknown result + throw TCoreException(eErr_UnhandledCase, L"Feedback result unknown", LOCATION); + } + + if(WasKillRequested(frResult)) + return TSubTaskBase::eSubResult_KillRequest; + } + while(bRetry); + + return TSubTaskBase::eSubResult_Continue; + } + bool TFilesystemFileFeedbackWrapper::WasKillRequested(const TFeedbackResult& rFeedbackResult) const { if(m_rThreadController.KillRequested(rFeedbackResult.IsAutomatedReply() ? m_spFeedbackHandler->GetRetryInterval() : 0)) Index: src/libchcore/TFilesystemFileFeedbackWrapper.h =================================================================== diff -u -r38031c379667959206abe69507d8a4e3b040dba6 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/TFilesystemFileFeedbackWrapper.h (.../TFilesystemFileFeedbackWrapper.h) (revision 38031c379667959206abe69507d8a4e3b040dba6) +++ src/libchcore/TFilesystemFileFeedbackWrapper.h (.../TFilesystemFileFeedbackWrapper.h) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -57,6 +57,8 @@ TSubTaskBase::ESubOperationResult GetFileSize(file_size_t& fsSize, bool bSilent = false) const; file_size_t GetSeekPositionForResume(file_size_t fsLastAvailablePosition); + TSubTaskBase::ESubOperationResult SetBasicInfo(DWORD dwAttributes, const TFileTime& ftCreationTime, const TFileTime& ftLastAccessTime, const TFileTime& ftLastWriteTime); + bool IsOpen() const { return m_spFile->IsOpen(); } void Close() { m_spFile->Close(); } Index: src/libchcore/TLocalFilesystem.cpp =================================================================== diff -u -ra4635addad389b9e117679437a3e1b64a739ea96 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/TLocalFilesystem.cpp (.../TLocalFilesystem.cpp) (revision a4635addad389b9e117679437a3e1b64a739ea96) +++ src/libchcore/TLocalFilesystem.cpp (.../TLocalFilesystem.cpp) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -37,6 +37,7 @@ #include "TFileException.h" #include #include "StreamingHelpers.h" +#include namespace chcore { @@ -100,31 +101,42 @@ return false; } - void TLocalFilesystem::SetFileDirectoryTime(const TSmartPath& pathFileDir, const TFileTime& ftCreationTime, const TFileTime& ftLastAccessTime, const TFileTime& ftLastWriteTime) + void TLocalFilesystem::SetFileDirBasicInfo(const TSmartPath& pathFileDir, DWORD dwAttributes, const TFileTime& ftCreationTime, const TFileTime& ftLastAccessTime, const TFileTime& ftLastWriteTime) { TSmartPath fullPath = PrependPathExtensionIfNeeded(pathFileDir); - LOG_TRACE(m_spLog) << L"Setting file/directory times for " << fullPath << + LOG_TRACE(m_spLog) << L"Setting file/directory attributes and times for " << fullPath << + L", attributes: " << dwAttributes << L", creation-time: " << ftCreationTime.GetAsFiletime() << L", last-access-time: " << ftLastAccessTime.GetAsFiletime() << L", last-write-time: " << ftLastWriteTime.GetAsFiletime(); - TAutoFileHandle hFile = TAutoFileHandle(CreateFile(fullPath.ToString(), GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ, nullptr, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_BACKUP_SEMANTICS, nullptr)); - if (hFile == INVALID_HANDLE_VALUE) + TAutoFileHandle hFile = TAutoFileHandle(CreateFile(fullPath.ToString(), GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, + nullptr, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_BACKUP_SEMANTICS, nullptr)); + if(hFile == INVALID_HANDLE_VALUE) { DWORD dwLastError = GetLastError(); LOG_ERROR(m_spLog) << L"Open file failed with error: " << dwLastError << L". Cannot set file/directory times."; throw TFileException(eErr_CannotOpenFile, dwLastError, pathFileDir, L"Cannot open file for setting file/directory times", LOCATION); } - if (!SetFileTime(hFile, &ftCreationTime.GetAsFiletime(), &ftLastAccessTime.GetAsFiletime(), &ftLastWriteTime.GetAsFiletime())) + FILE_BASIC_INFO basicInfo = { 0 }; + basicInfo.FileAttributes = dwAttributes; + basicInfo.CreationTime.QuadPart = ftCreationTime.ToUInt64(); + basicInfo.LastAccessTime.QuadPart = ftLastAccessTime.ToUInt64(); + basicInfo.LastWriteTime.QuadPart = ftLastWriteTime.ToUInt64(); + basicInfo.ChangeTime.QuadPart = ftLastWriteTime.ToUInt64(); + + if(!SetFileInformationByHandle(hFile, FileBasicInfo, &basicInfo, sizeof(FILE_BASIC_INFO))) { DWORD dwLastError = GetLastError(); - LOG_ERROR(m_spLog) << L"Failed to set file/directory times. Error: " << dwLastError; - throw TFileException(eErr_CannotSetFileTimes, dwLastError, pathFileDir, L"Cannot set file/directory times", LOCATION); + LOG_ERROR(m_spLog) << L"Failed to set file/dir basic info for " << pathFileDir; + + throw TFileException(eErr_CannotSetFileInfo, dwLastError, pathFileDir, L"Cannot set basic file/directory info", LOCATION); } - LOG_TRACE(m_spLog) << L"File/directory times set successfully"; + + LOG_TRACE(m_spLog) << L"File/directory attributes and times set successfully"; } void TLocalFilesystem::SetAttributes(const TSmartPath& pathFileDir, DWORD dwAttributes) Index: src/libchcore/TLocalFilesystem.h =================================================================== diff -u -ra4635addad389b9e117679437a3e1b64a739ea96 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/TLocalFilesystem.h (.../TLocalFilesystem.h) (revision a4635addad389b9e117679437a3e1b64a739ea96) +++ src/libchcore/TLocalFilesystem.h (.../TLocalFilesystem.h) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -45,24 +45,24 @@ explicit TLocalFilesystem(const logger::TLogFileDataPtr& spLogFileData); virtual ~TLocalFilesystem(); - virtual bool PathExist(const TSmartPath& strPath) override; // check for file or folder existence + bool PathExist(const TSmartPath& strPath) override; // check for file or folder existence - virtual void SetFileDirectoryTime(const TSmartPath& pathFileDir, const TFileTime& ftCreationTime, const TFileTime& ftLastAccessTime, const TFileTime& ftLastWriteTime) override; + void SetFileDirBasicInfo(const TSmartPath& pathFileDir, DWORD dwAttributes, const TFileTime& ftCreationTime, const TFileTime& ftLastAccessTime, const TFileTime& ftLastWriteTime) override; virtual void SetAttributes(const TSmartPath& pathFileDir, DWORD dwAttributes) override; - virtual void CreateDirectory(const TSmartPath& pathDirectory, bool bCreateFullPath) override; - virtual void RemoveDirectory(const TSmartPath& pathFile) override; - virtual void DeleteFile(const TSmartPath& pathFile) override; + void CreateDirectory(const TSmartPath& pathDirectory, bool bCreateFullPath) override; + void RemoveDirectory(const TSmartPath& pathFile) override; + void DeleteFile(const TSmartPath& pathFile) override; - virtual void GetFileInfo(const TSmartPath& pathFile, TFileInfoPtr& rFileInfo, const TBasePathDataPtr& spBasePathData = TBasePathDataPtr()) override; - virtual void FastMove(const TSmartPath& pathSource, const TSmartPath& pathDestination) override; + void GetFileInfo(const TSmartPath& pathFile, TFileInfoPtr& rFileInfo, const TBasePathDataPtr& spBasePathData = TBasePathDataPtr()) override; + void FastMove(const TSmartPath& pathSource, const TSmartPath& pathDestination) override; - virtual IFilesystemFindPtr CreateFinderObject(const TSmartPath& pathDir, const TSmartPath& pathMask) override; - virtual IFilesystemFilePtr CreateFileObject(IFilesystemFile::EOpenMode eMode, const TSmartPath& pathFile, bool bNoBuffering, bool bProtectReadOnlyFiles) override; + IFilesystemFindPtr CreateFinderObject(const TSmartPath& pathDir, const TSmartPath& pathMask) override; + IFilesystemFilePtr CreateFileObject(IFilesystemFile::EOpenMode eMode, const TSmartPath& pathFile, bool bNoBuffering, bool bProtectReadOnlyFiles) override; - virtual EPathsRelation GetPathsRelation(const TSmartPath& pathFirst, const TSmartPath& pathSecond) override; + EPathsRelation GetPathsRelation(const TSmartPath& pathFirst, const TSmartPath& pathSecond) override; - virtual void GetDynamicFreeSpace(const TSmartPath& path, unsigned long long& rullFree, unsigned long long& rullTotal) override; + void GetDynamicFreeSpace(const TSmartPath& path, unsigned long long& rullFree, unsigned long long& rullTotal) override; private: static TSmartPath PrependPathExtensionIfNeeded(const TSmartPath& pathInput); Index: src/libchcore/TLocalFilesystemFile.cpp =================================================================== diff -u -r71bfd29bfef00738456ab96f336feeb8a02c4df6 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/TLocalFilesystemFile.cpp (.../TLocalFilesystemFile.cpp) (revision 71bfd29bfef00738456ab96f336feeb8a02c4df6) +++ src/libchcore/TLocalFilesystemFile.cpp (.../TLocalFilesystemFile.cpp) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -151,6 +151,28 @@ return fsMove; } + void TLocalFilesystemFile::SetBasicInfo(DWORD dwAttributes, const TFileTime& ftCreationTime, const TFileTime& ftLastAccessTime, const TFileTime& ftLastWriteTime) + { + LOG_TRACE(m_spLog) << "Updating file times" << GetFileInfoForLog(m_bNoBuffering); + + EnsureOpen(); + + FILE_BASIC_INFO basicInfo = { 0 }; + basicInfo.FileAttributes = dwAttributes; + basicInfo.CreationTime.QuadPart = ftCreationTime.ToUInt64(); + basicInfo.LastAccessTime.QuadPart = ftLastAccessTime.ToUInt64(); + basicInfo.LastWriteTime.QuadPart = ftLastWriteTime.ToUInt64(); + basicInfo.ChangeTime.QuadPart = ftLastWriteTime.ToUInt64(); + + if(!SetFileInformationByHandle(m_hFile, FileBasicInfo, &basicInfo, sizeof(FILE_BASIC_INFO))) + { + DWORD dwLastError = GetLastError(); + LOG_ERROR(m_spLog) << L"Failed to set file basic info." << GetFileInfoForLog(m_bNoBuffering); + + throw TFileException(eErr_CannotSetFileInfo, dwLastError, m_pathFile, L"Cannot set basic file info", LOCATION); + } + } + void TLocalFilesystemFile::Truncate(file_size_t fsNewSize) { LOG_TRACE(m_spLog) << "Truncating file to: " << fsNewSize << GetFileInfoForLog(m_bNoBuffering); Index: src/libchcore/TLocalFilesystemFile.h =================================================================== diff -u -r71bfd29bfef00738456ab96f336feeb8a02c4df6 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/TLocalFilesystemFile.h (.../TLocalFilesystemFile.h) (revision 71bfd29bfef00738456ab96f336feeb8a02c4df6) +++ src/libchcore/TLocalFilesystemFile.h (.../TLocalFilesystemFile.h) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -53,6 +53,8 @@ void Close() override; file_size_t GetSeekPositionForResume(file_size_t fsLastAvailablePosition) override; + void SetBasicInfo(DWORD dwAttributes, const TFileTime& ftCreationTime, const TFileTime& ftLastAccessTime, const TFileTime& ftLastWriteTime); + private: TLocalFilesystemFile(EOpenMode eMode, const TSmartPath& pathFile, bool bNoBuffering, bool bProtectReadOnlyFiles, const logger::TLogFileDataPtr& spLogFileData); Index: src/libchcore/TOverlappedReaderFB.h =================================================================== diff -u -r38031c379667959206abe69507d8a4e3b040dba6 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/TOverlappedReaderFB.h (.../TOverlappedReaderFB.h) (revision 38031c379667959206abe69507d8a4e3b040dba6) +++ src/libchcore/TOverlappedReaderFB.h (.../TOverlappedReaderFB.h) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -22,7 +22,6 @@ #include "TOverlappedReader.h" #include "TFilesystemFileFeedbackWrapper.h" #include "TOverlappedProcessorRange.h" -#include "TThreadedQueueRunner.h" #include "TEventCounter.h" namespace chcore Index: src/libchcore/TOverlappedReaderWriterFB.cpp =================================================================== diff -u -r518d1a3484cde91ff17c071211df5e40cb3487e3 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/TOverlappedReaderWriterFB.cpp (.../TOverlappedReaderWriterFB.cpp) (revision 518d1a3484cde91ff17c071211df5e40cb3487e3) +++ src/libchcore/TOverlappedReaderWriterFB.cpp (.../TOverlappedReaderWriterFB.cpp) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -39,15 +39,16 @@ DWORD dwChunkSize, bool bNoBuffering, bool bProtectReadOnlyFiles, - bool bOnlyCreate) : + bool bOnlyCreate, + bool bUpdateFileAttributesAndTimes) : m_spLog(logger::MakeLogger(spLogFileData, L"DataBuffer")), m_rThreadPool(rThreadPool), m_rThreadController(rThreadController), m_spRange(std::make_shared(ullResumePosition)), m_spMemoryPool(spMemoryPool), m_spReader(std::make_shared(spFilesystem, spFeedbackHandler, rThreadController, spStats, spSrcFileInfo, spLogFileData, spMemoryPool->GetBufferList(), m_spRange, dwChunkSize, bNoBuffering, bProtectReadOnlyFiles)), - m_spWriter(std::make_shared(spFilesystem, spFeedbackHandler, rThreadController, spStats, spSrcFileInfo, pathDst, spLogFileData, m_spReader->GetFinishedQueue(), m_spRange, spMemoryPool->GetBufferList(), bOnlyCreate, bNoBuffering, bProtectReadOnlyFiles)) + m_spWriter(std::make_shared(spFilesystem, spFeedbackHandler, rThreadController, spStats, spSrcFileInfo, pathDst, spLogFileData, m_spReader->GetFinishedQueue(), m_spRange, spMemoryPool->GetBufferList(), bOnlyCreate, bNoBuffering, bProtectReadOnlyFiles, bUpdateFileAttributesAndTimes)) { if(!spMemoryPool) throw TCoreException(eErr_InvalidArgument, L"spMemoryPool", LOCATION); @@ -92,12 +93,9 @@ bool bStopProcessing = false; while(!bStopProcessing && eResult == TSubTaskBase::eSubResult_Continue) { - DWORD dwResult = WaitForMultipleObjectsEx(boost::numeric_cast(vHandles.size()), vHandles.data(), false, INFINITE, true); + DWORD dwResult = WaitForMultipleObjectsEx(boost::numeric_cast(vHandles.size()), vHandles.data(), false, INFINITE, FALSE); switch(dwResult) { - case STATUS_USER_APC: - break; - case WAIT_OBJECT_0 + eWritingFinished: eResult = m_spWriter->StopThreaded(); vHandles[eWritingFinished] = unsignaledEvent.Handle(); Index: src/libchcore/TOverlappedReaderWriterFB.h =================================================================== diff -u -rc719644bb4360fcf7ccf6f1139bcae852bd6effd -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/TOverlappedReaderWriterFB.h (.../TOverlappedReaderWriterFB.h) (revision c719644bb4360fcf7ccf6f1139bcae852bd6effd) +++ src/libchcore/TOverlappedReaderWriterFB.h (.../TOverlappedReaderWriterFB.h) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -45,7 +45,8 @@ DWORD dwChunkSize, bool bNoBuffering, bool bProtectReadOnlyFiles, - bool bOnlyCreate); + bool bOnlyCreate, + bool bUpdateFileAttributesAndTimes); TOverlappedReaderWriterFB(const TOverlappedReaderWriterFB&) = delete; ~TOverlappedReaderWriterFB(); Index: src/libchcore/TOverlappedWriterFB.cpp =================================================================== diff -u -r937da76497c6099de5b656f396c515907a528044 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/TOverlappedWriterFB.cpp (.../TOverlappedWriterFB.cpp) (revision 937da76497c6099de5b656f396c515907a528044) +++ src/libchcore/TOverlappedWriterFB.cpp (.../TOverlappedWriterFB.cpp) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -40,12 +40,14 @@ const TBufferListPtr& spEmptyBuffers, bool bOnlyCreate, bool bNoBuffering, - bool bProtectReadOnlyFiles) : + bool bProtectReadOnlyFiles, + bool bUpdateFileAttributesAndTimes) : m_spWriter(std::make_shared(spLogFileData, spBuffersToWrite, spRange, spEmptyBuffers)), m_spStats(spStats), m_spSrcFileInfo(spSrcFileInfo), m_spDataRange(spRange), m_bOnlyCreate(bOnlyCreate), + m_bUpdateFileAttributesAndTimes(bUpdateFileAttributesAndTimes), m_eventProcessingFinished(true, false), m_eventWritingFinished(true, false), m_eventLocalKill(true, false), @@ -117,11 +119,15 @@ file_size_t fsWritten = pBuffer->GetRealDataSize(); + bool bIsLastBuffer = pBuffer->IsLastPart(); TSubTaskBase::ESubOperationResult eResult = TSubTaskBase::eSubResult_Continue; - if(pBuffer->IsLastPart()) + if(bIsLastBuffer) { eResult = m_spDstFile->FinalizeFileFB(*pBuffer); - if (eResult != TSubTaskBase::eSubResult_Continue) + if(eResult == TSubTaskBase::eSubResult_Continue && m_bUpdateFileAttributesAndTimes) + eResult = m_spDstFile->SetBasicInfo(m_spSrcFileInfo->GetAttributes(), m_spSrcFileInfo->GetCreationTime(), m_spSrcFileInfo->GetLastAccessTime(), m_spSrcFileInfo->GetLastWriteTime()); + + if(eResult != TSubTaskBase::eSubResult_Continue) { m_spWriter->AddEmptyBuffer(pBuffer); return eResult; @@ -132,8 +138,7 @@ AdjustProcessedSize(fsWritten); // stop iterating through file - bStopProcessing = pBuffer->IsLastPart(); - if(bStopProcessing) + if(bIsLastBuffer) { m_spWriter->MarkAsFinalized(pBuffer); @@ -148,6 +153,8 @@ m_spWriter->AddEmptyBuffer(pBuffer); + bStopProcessing = bIsLastBuffer; + return eResult; } Index: src/libchcore/TOverlappedWriterFB.h =================================================================== diff -u -r38031c379667959206abe69507d8a4e3b040dba6 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/TOverlappedWriterFB.h (.../TOverlappedWriterFB.h) (revision 38031c379667959206abe69507d8a4e3b040dba6) +++ src/libchcore/TOverlappedWriterFB.h (.../TOverlappedWriterFB.h) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -42,7 +42,8 @@ const TBufferListPtr& spEmptyBuffers, bool bOnlyCreate, bool bNoBuffering, - bool bProtectReadOnlyFiles); + bool bProtectReadOnlyFiles, + bool bUpdateFileAttributesAndTimes); TOverlappedWriterFB(const TOverlappedWriterFB& rSrc) = delete; ~TOverlappedWriterFB(); @@ -54,6 +55,7 @@ void StartThreaded(); TSubTaskBase::ESubOperationResult StopThreaded(); + bool WereAttributesAndTimesSet() const; HANDLE GetEventWritingFinishedHandle() const; HANDLE GetEventProcessingFinishedHandle() const; @@ -79,6 +81,7 @@ TFileInfoPtr m_spSrcFileInfo; TOverlappedProcessorRangePtr m_spDataRange; bool m_bOnlyCreate = false; + bool m_bUpdateFileAttributesAndTimes = false; TEvent m_eventProcessingFinished; TEvent m_eventWritingFinished; Index: src/libchcore/TSubTaskCopyMove.cpp =================================================================== diff -u -rc719644bb4360fcf7ccf6f1139bcae852bd6effd -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/TSubTaskCopyMove.cpp (.../TSubTaskCopyMove.cpp) (revision c719644bb4360fcf7ccf6f1139bcae852bd6effd) +++ src/libchcore/TSubTaskCopyMove.cpp (.../TSubTaskCopyMove.cpp) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -215,13 +215,15 @@ if(spFileInfo->IsDirectory()) { eResult = tFilesystemFBWrapper.CreateDirectoryFB(ccp.pathDstFile); - if(eResult != eSubResult_Continue) + if(eResult == eSubResult_SkipFile) + { + spFileInfo->MarkAsProcessed(false); + AdjustProcessedSizeForSkip(spFileInfo); + } + else if(eResult != eSubResult_Continue) return eResult; - - // new stats - AdjustProcessedSizeForSkip(spFileInfo); - - spFileInfo->MarkAsProcessed(true); + else + spFileInfo->MarkAsProcessed(true); } else { @@ -246,21 +248,10 @@ tFilesystemFBWrapper.DeleteFileFB(spFileInfo, GetTaskPropValue(rConfig)); } } - - // only set attributes and times when file/dir had been processed successfully. - if(spFileInfo->IsProcessed()) - { - if(GetTaskPropValue(rConfig)) - spFilesystem->SetFileDirectoryTime(ccp.pathDstFile, spFileInfo->GetCreationTime(), spFileInfo->GetLastAccessTime(), spFileInfo->GetLastWriteTime()); // no error checking (but most probably it should be checked) - - // attributes - if(GetTaskPropValue(rConfig)) - spFilesystem->SetAttributes(ccp.pathDstFile, spFileInfo->GetAttributes()); // as above - } } // update directories file times - bool bUpdateDirTimes = GetTaskPropValue(rConfig); + bool bUpdateDirTimes = GetTaskPropValue(rConfig); if(bUpdateDirTimes) { LOG_INFO(m_spLog) << _T("Setting directory attributes"); @@ -281,7 +272,14 @@ { TSmartPath pathDstDir = tDstPathProvider.CalculateDestinationPath(spFileInfo); - spFilesystem->SetFileDirectoryTime(pathDstDir, spFileInfo->GetCreationTime(), spFileInfo->GetLastAccessTime(), spFileInfo->GetLastWriteTime()); + eResult = tFilesystemFBWrapper.SetFileDirBasicInfo(pathDstDir, spFileInfo->GetAttributes(), spFileInfo->GetCreationTime(), spFileInfo->GetLastAccessTime(), spFileInfo->GetLastWriteTime()); + if(eResult == eSubResult_SkipFile) + continue; + if(eResult != eSubResult_Continue) + { + LOG_INFO(m_spLog) << _T("Stopped updating directories' times and dates"); + break; + } } } } @@ -383,7 +381,8 @@ dwCurrentBufferSize, bNoBuffer, GetTaskPropValue(rConfig), - pData->bOnlyCreate); + pData->bOnlyCreate, + GetTaskPropValue(rConfig)); ESubOperationResult eResult = tReaderWriter.Process(); Index: src/libchcore/TTaskConfigTracker.cpp =================================================================== diff -u -ra4635addad389b9e117679437a3e1b64a739ea96 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/TTaskConfigTracker.cpp (.../TTaskConfigTracker.cpp) (revision a4635addad389b9e117679437a3e1b64a739ea96) +++ src/libchcore/TTaskConfigTracker.cpp (.../TTaskConfigTracker.cpp) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -200,56 +200,52 @@ { if (strOption == TaskPropData::GetPropertyName()) return eTO_UseOnlyDefaultBuffer; - else if (strOption == TaskPropData::GetPropertyName()) + if (strOption == TaskPropData::GetPropertyName()) return eTO_DefaultBufferSize; - else if (strOption == TaskPropData::GetPropertyName()) + if (strOption == TaskPropData::GetPropertyName()) return eTO_OneDiskBufferSize; - else if (strOption == TaskPropData::GetPropertyName()) + if (strOption == TaskPropData::GetPropertyName()) return eTO_TwoDisksBufferSize; - else if (strOption == TaskPropData::GetPropertyName()) + if (strOption == TaskPropData::GetPropertyName()) return eTO_CDBufferSize; - else if (strOption == TaskPropData::GetPropertyName()) + if (strOption == TaskPropData::GetPropertyName()) return eTO_LANBufferSize; - else if (strOption == TaskPropData::GetPropertyName()) + if (strOption == TaskPropData::GetPropertyName()) return eTO_DisableBuffering; - else if (strOption == TaskPropData::GetPropertyName()) + if (strOption == TaskPropData::GetPropertyName()) return eTO_DisableBufferingMinSize; - else if (strOption == TaskPropData::GetPropertyName()) + if (strOption == TaskPropData::GetPropertyName()) return eTO_BufferQueueDepth; - else if (strOption == TaskPropData::GetPropertyName()) + if (strOption == TaskPropData::GetPropertyName()) return eTO_SetDestinationAttributes; - else if (strOption == TaskPropData::GetPropertyName()) - return eTO_SetDestinationDateTime; - else if (strOption == TaskPropData::GetPropertyName()) + if (strOption == TaskPropData::GetPropertyName()) return eTO_ProtectReadOnlyFiles; - else if(strOption == TaskPropData::GetPropertyName()) + if(strOption == TaskPropData::GetPropertyName()) return eTO_ScanDirectoriesBeforeBlocking; - else if(strOption == TaskPropData::GetPropertyName()) + if(strOption == TaskPropData::GetPropertyName()) return eTO_FastMoveBeforeBlocking; - else if (strOption == TaskPropData::GetPropertyName()) + if (strOption == TaskPropData::GetPropertyName()) return eTO_ThreadPriority; - else if (strOption == TaskPropData::GetPropertyName()) + if (strOption == TaskPropData::GetPropertyName()) return eTO_DisablePriorityBoost; - else if (strOption == TaskPropData::GetPropertyName()) + if (strOption == TaskPropData::GetPropertyName()) return eTO_DeleteInSeparateSubTask; - else if (strOption == TaskPropData::GetPropertyName()) + if (strOption == TaskPropData::GetPropertyName()) return eTO_CreateEmptyFiles; - else if (strOption == TaskPropData::GetPropertyName()) + if (strOption == TaskPropData::GetPropertyName()) return eTO_CreateDirectoriesRelativeToRoot; - else if (strOption == TaskPropData::GetPropertyName()) + if (strOption == TaskPropData::GetPropertyName()) return eTO_IgnoreDirectories; - else if (strOption == TaskPropData::GetPropertyName()) + if (strOption == TaskPropData::GetPropertyName()) return eTO_AlternateFilenameFormatString_AfterFirst; - else if (strOption == TaskPropData::GetPropertyName()) + if (strOption == TaskPropData::GetPropertyName()) return eTO_AlternateFilenameFormatString_First; - else - { - BOOST_ASSERT(false); // unhandled case - throw TCoreException(eErr_UnhandledCase, L"Option name not supported", LOCATION); - } + BOOST_ASSERT(false); // unhandled case + throw TCoreException(eErr_UnhandledCase, L"Option name not supported", LOCATION); + // add new elements before this one BOOST_STATIC_ASSERT(eTO_Last == eTO_AlternateFilenameFormatString_AfterFirst + 1); } Index: src/libchcore/TTaskConfiguration.h =================================================================== diff -u -ra4635addad389b9e117679437a3e1b64a739ea96 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/TTaskConfiguration.h (.../TTaskConfiguration.h) (revision a4635addad389b9e117679437a3e1b64a739ea96) +++ src/libchcore/TTaskConfiguration.h (.../TTaskConfiguration.h) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -44,7 +44,6 @@ eTO_FeedbackNotEnoughSpace, eTO_SetDestinationAttributes, - eTO_SetDestinationDateTime, eTO_ProtectReadOnlyFiles, eTO_ScanDirectoriesBeforeBlocking, eTO_FastMoveBeforeBlocking, @@ -121,7 +120,6 @@ TASK_PROPERTY_MIN(eTO_DisableBufferingMinSize, int, _T("Operation.Buffering.MinSizeOfFileToDisableBuffering"), 0, 1); TASK_PROPERTY(eTO_SetDestinationAttributes, bool, _T("Operation.SetDestinationAttributes"), true); - TASK_PROPERTY(eTO_SetDestinationDateTime, bool, _T("Operation.SetDestinationTime"), true); TASK_PROPERTY(eTO_ProtectReadOnlyFiles, bool, _T("Operation.ProtectReadOnlyFiles"), false); TASK_PROPERTY(eTO_ScanDirectoriesBeforeBlocking, bool, _T("Operation.ScanForFilesBeforeBlocking"), false); TASK_PROPERTY(eTO_FastMoveBeforeBlocking, bool, _T("Operation.FastMoveBeforeBlocking"), false); Index: src/libchcore/TThreadedQueueRunner.h =================================================================== diff -u -r5127141ac49a45db27f748dfb659d31f2e4983c4 -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/TThreadedQueueRunner.h (.../TThreadedQueueRunner.h) (revision 5127141ac49a45db27f748dfb659d31f2e4983c4) +++ src/libchcore/TThreadedQueueRunner.h (.../TThreadedQueueRunner.h) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -22,6 +22,7 @@ #include "WaitableQueue.h" #include #include +#include "TEventGuard.h" namespace chcore { @@ -56,41 +57,42 @@ void Stop() { m_eventLocalKill.SetEvent(); + if(m_thread.joinable()) m_thread.join(); } void PushTask(T&& func) { + // order is important here. First push task to be processed, then launch thread if not running already; + // this is to ensure the queued functions are called before thread is killed (which might happen with inverted order) + m_queue.PushBack(std::forward(func)); + if(!m_thread.joinable()) Start(); - - m_queue.PushBack(std::forward(func)); } private: void ThreadProc() { - enum { eKill, eLocalKill, eQueue, eCount }; - std::array arrHandles = { m_hKill, m_eventLocalKill.Handle(), m_queue.GetWaitHandle() }; + TEventGuard eventGuard(m_eventLocalKill, true); + enum { eQueue, eLocalKill, eCount }; + std::array arrHandles = { m_queue.GetWaitHandle(), m_eventLocalKill.Handle() }; + bool bStop = false; do { - DWORD dwResult = WaitForMultipleObjectsEx(eCount, arrHandles.data(), FALSE, INFINITE, TRUE); + DWORD dwResult = WaitForMultipleObjectsEx(eCount, arrHandles.data(), FALSE, INFINITE, FALSE); switch(dwResult) { - case STATUS_USER_APC: - break; - case WAIT_OBJECT_0 + eQueue: { T func = m_queue.PopFront(); func(); break; } - case WAIT_OBJECT_0 + eKill: case WAIT_OBJECT_0 + eLocalKill: default: { Index: src/libchcore/Tests/TestsTDestinationPathProvider.cpp =================================================================== diff -u -r789d0908abf8db57e27cfeac7045d9962f4b522a -rbaad6054459abaaf69cbfd1ebad8783085160d99 --- src/libchcore/Tests/TestsTDestinationPathProvider.cpp (.../TestsTDestinationPathProvider.cpp) (revision 789d0908abf8db57e27cfeac7045d9962f4b522a) +++ src/libchcore/Tests/TestsTDestinationPathProvider.cpp (.../TestsTDestinationPathProvider.cpp) (revision baad6054459abaaf69cbfd1ebad8783085160d99) @@ -12,7 +12,7 @@ { public: MOCK_METHOD1(PathExist, bool(const TSmartPath&)); - MOCK_METHOD4(SetFileDirectoryTime, void(const TSmartPath& pathFileDir, const TFileTime& ftCreationTime, const TFileTime& ftLastAccessTime, const TFileTime& ftLastWriteTime)); + MOCK_METHOD5(SetFileDirBasicInfo, void(const TSmartPath& pathFileDir, DWORD dwAttributes, const TFileTime& ftCreationTime, const TFileTime& ftLastAccessTime, const TFileTime& ftLastWriteTime)); MOCK_METHOD2(SetAttributes, void(const TSmartPath& pathFileDir, DWORD dwAttributes)); MOCK_METHOD2(CreateDirectory, void(const TSmartPath& pathDirectory, bool bCreateFullPath));