mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 17:15:00 -06:00
4.54 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
051769bbc5
commit
b82f80647d
@@ -157,8 +157,25 @@ bool CPanel::OnKeyDown(LPNMLVKEYDOWN keyDownInfo, LRESULT &result)
|
||||
}
|
||||
case VK_INSERT:
|
||||
{
|
||||
OnInsert();
|
||||
return true;
|
||||
if (!alt)
|
||||
{
|
||||
if (ctrl && !shift)
|
||||
{
|
||||
EditCopy();
|
||||
return true;
|
||||
}
|
||||
if (shift && !ctrl)
|
||||
{
|
||||
EditPaste();
|
||||
return true;
|
||||
}
|
||||
if (!shift && !ctrl && _mySelectMode)
|
||||
{
|
||||
OnInsert();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
case VK_DOWN:
|
||||
{
|
||||
@@ -249,6 +266,27 @@ bool CPanel::OnKeyDown(LPNMLVKEYDOWN keyDownInfo, LRESULT &result)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
case 'X':
|
||||
if (ctrl)
|
||||
{
|
||||
EditCut();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
case 'C':
|
||||
if (ctrl)
|
||||
{
|
||||
EditCopy();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
case 'V':
|
||||
if (ctrl)
|
||||
{
|
||||
EditPaste();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
case 'N':
|
||||
if (ctrl)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user