Okay I'll see if I can explain this.
For the sake of this example I am using the Notepad++ default installation directory, but the same behaviour occurs with all folders under UAC.
On my machine it is [C:\Program Files (x86)\Notepad++\].
The folder has the following security applied to it, as listed on the 'Security' tab of the 'Properties' dialog:
CREATOR OWNER - Special Permissions - Allow
SYSTEM - Full Control, Modify, Read & Execute, List folder contents, Read, Write - Allow
Administrators - Full Control, Modify, Read & Execute, List folder contents, Read, Write - Allow
Users - Read & Execute, List folder contents, Read - Allow
TrustedInstaller - List folder contents, Special permissions - Allow
All files found under this directory have the following security applied to them:
SYSTEM
Administrators
Users
All with the same permissions as listed above (except 'List folder contents' of course as that doesn't apply to files).
Now if I start MultiCommander from the 'StartMenu' with 'Run as administrator' no problems occur. All file operations happen as they should.
If I start MultiCommander from the shortcut without admin privileges the following happens:
Using the 'Notepad++' directory as the example if I highlight the 'readme.txt' and hit "F8", "Del" or the "Delete (F8)" button I get your confirmation dialog box asking whether "Are you sure you want to remove the file to the Recycle Bin ?" The check box for 'Delete to Recycle Bin' is selected and the radio button option 'Remove link, not link target.' is also selected.
Now I press "Yes" and the 'Error' dialog box appears which says:
"Access denied while trying to delete the file 'readme.txt'.
It might be open by another program or you do not have permission to delete it."
It has the options "Retry as Administrator", "Retry", "Skip", "Skip All", "Cancel".
I then press "Retry as Administrator" and I am continually presented with the same dialog box and options as described above. All the while the bottom right hand corner shows a progress bar with 0% and another dialog box hidden behind the 'Error' dialog box which is labelled "Multi Commander" and it has the text "Preparing ...." and a progress bar, a label saying "0 of 1 items done" and 2 buttons 'Pause' and 'Abort'.
As I mentioned this results only when operating on a file with the coded commands. If I right-click and select "Cut" or "Delete" or if I drag the file out of the folder I am presented with Windows access control dialog and then the operations continue as expected.
Whatever you changed in your code that worked on the "Move" operation that now makes it work for me isn't being applied to your code that handles deletions. Though I don't see why that would be the case?
I hope it helps.
I'm not a coder but I do understand some principles about it. If you need any further information I'm only too happy to help.
And again, excellent work! Bravo.