win32: pause works as a hotkey

This commit is contained in:
p989 2009-05-09 02:51:11 +00:00
parent dd00cbd1b7
commit 6047ff9c72
1 changed files with 4 additions and 1 deletions

View File

@ -2659,7 +2659,8 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
//break; //break;
case WM_KEYDOWN: case WM_KEYDOWN:
break; if(wParam != VK_PAUSE)
break;
case WM_SYSKEYDOWN: case WM_SYSKEYDOWN:
case WM_CUSTKEYDOWN: case WM_CUSTKEYDOWN:
{ {
@ -2669,6 +2670,8 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
break; break;
} }
case WM_KEYUP: case WM_KEYUP:
if(wParam != VK_PAUSE)
break;
case WM_SYSKEYUP: case WM_SYSKEYUP:
case WM_CUSTKEYUP: case WM_CUSTKEYUP:
{ {