Author: gschneider
Date: Wed May 12 22:41:55 2010
New Revision: 47182
URL:
http://svn.reactos.org/svn/reactos?rev=47182&view=rev
Log:
[SHELL32] Add initial ctrl+c/v handling (WIP for bug #4850)
Modified:
trunk/reactos/dll/win32/shell32/shlview.c
Modified: trunk/reactos/dll/win32/shell32/shlview.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shlview.…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shlview.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shlview.c [iso-8859-1] Wed May 12 22:41:55 2010
@@ -1511,6 +1511,7 @@
msg.pt = 0;*/
LPNMLVKEYDOWN plvKeyDown = (LPNMLVKEYDOWN) lpnmh;
+ SHORT ctrl = GetAsyncKeyState(VK_CONTROL);
/* initiate a rename of the selected file or directory */
if(plvKeyDown->wVKey == VK_F2)
@@ -1590,6 +1591,14 @@
{
IShellBrowser_BrowseObject(lpSb, NULL, SBSP_PARENT);
}
+ }
+ else if(plvKeyDown->wVKey == 'C' && (ctrl & 0x8000))
+ {
+ FIXME("Need to copy\n");
+ }
+ else if(plvKeyDown->wVKey == 'V' && (ctrl & 0x8000))
+ {
+ FIXME("Need to paste\n");
}
else
FIXME("LVN_KEYDOWN key=0x%08x\n",plvKeyDown->wVKey);