Added middle mouse button handling.

This commit is contained in:
Alexandre Julliard 2000-11-08 05:06:58 +00:00
parent f6def56675
commit a6697b4639
1 changed files with 10 additions and 0 deletions

View File

@ -156,6 +156,16 @@ LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
TestBoard( hWnd, &board, LOWORD(lParam), HIWORD(lParam), msg ); TestBoard( hWnd, &board, LOWORD(lParam), HIWORD(lParam), msg );
return 0; return 0;
case WM_MBUTTONDOWN:
DEBUG("WM_MBUTTONDOWN\n");
TestBoard( hWnd, &board, LOWORD(lParam), HIWORD(lParam), msg );
return 0;
case WM_MBUTTONUP:
DEBUG("WM_MBUTTONUP\n");
TestBoard( hWnd, &board, LOWORD(lParam), HIWORD(lParam), msg );
return 0;
case WM_MOUSEMOVE: case WM_MOUSEMOVE:
{ {
if( (wParam & MK_LBUTTON) && (wParam & MK_RBUTTON) ) { if( (wParam & MK_LBUTTON) && (wParam & MK_RBUTTON) ) {