user32: Make DefWindowProc handle Shift+F10.
This commit is contained in:
parent
95676b50f8
commit
529b183397
|
@ -561,7 +561,11 @@ static LRESULT DEFWND_DefWinProc( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPa
|
|||
}
|
||||
}
|
||||
else if( wParam == VK_F10 )
|
||||
{
|
||||
if (GetKeyState(VK_SHIFT) & 0x8000)
|
||||
SendMessageW( hwnd, WM_CONTEXTMENU, (WPARAM)hwnd, MAKELPARAM(-1, -1) );
|
||||
iF10Key = 1;
|
||||
}
|
||||
else if( wParam == VK_ESCAPE && (GetKeyState(VK_SHIFT) & 0x8000))
|
||||
SendMessageW( hwnd, WM_SYSCOMMAND, SC_KEYMENU, ' ' );
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue