зеркало из https://github.com/mozilla/pjs.git
Updating the values the softkeys generate to f9 and f10. NPODB. WINCE ONLY. I believe this is a regression caused by my backout of 325298
This commit is contained in:
Родитель
4edd0845fc
Коммит
b694b6bc38
|
@ -4391,16 +4391,16 @@ PRBool nsWindow::ProcessMessage(UINT msg, WPARAM wParam, LPARAM lParam, LRESULT
|
|||
|
||||
if (VK_TSOFT1 == HIWORD(lParam) && (0 != (MOD_KEYUP & LOWORD(lParam))))
|
||||
{
|
||||
keybd_event(VK_F23, 0, 0, 0);
|
||||
keybd_event(VK_F23, 0, KEYEVENTF_KEYUP, 0);
|
||||
keybd_event(VK_F9, 0, 0, 0);
|
||||
keybd_event(VK_F9, 0, KEYEVENTF_KEYUP, 0);
|
||||
result = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
if (VK_TSOFT2 == HIWORD(lParam) && (0 != (MOD_KEYUP & LOWORD(lParam))))
|
||||
{
|
||||
keybd_event(VK_F24, 0, 0, 0);
|
||||
keybd_event(VK_F24, 0, KEYEVENTF_KEYUP, 0);
|
||||
keybd_event(VK_F10, 0, 0, 0);
|
||||
keybd_event(VK_F10, 0, KEYEVENTF_KEYUP, 0);
|
||||
result = 0;
|
||||
break;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче