[SHELL32]
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Thu, 22 Oct 2015 15:23:21 +0000 (15:23 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Thu, 22 Oct 2015 15:23:21 +0000 (15:23 +0000)
commit3339ceb715702b245e7bad53f8f204463add583e
tree5fa242c9b77d6e1521facee65c77c38f89ff23ae
parent359fa267cc3ce8ef4e06033f36113be9e99e8cc1
[SHELL32]
- Add DoDeleteAsync method that takes the data object and the fMask parameter from IContextMenu in order to distinguish if we need a permanent delete.
- CDefView: Properly add CMIC_MASK_SHIFT_DOWN and CMIC_MASK_CONTROL_DOWN flags when calling Invoke.
- CDefaultContextMenu: use DoDeleteAsync and pass fmask so as to make Shift+Delete shortcut to permanently delete files.
Note: GetKeyState sometimes returns wrong results but this doesn't concern the shell.
CORE-4365

svn path=/trunk/; revision=69647
reactos/dll/win32/shell32/CDefView.cpp
reactos/dll/win32/shell32/CDefaultContextMenu.cpp
reactos/dll/win32/shell32/folders/CRecycleBin.cpp
reactos/dll/win32/shell32/folders/CRecycleBin.h