Fixed problem with mouse cursors in Word.

This commit is contained in:
Dmitry Timoshkov 2002-04-09 01:37:06 +00:00 committed by Alexandre Julliard
parent aba60df415
commit 5474aa941b
2 changed files with 3 additions and 3 deletions

View File

@ -527,7 +527,8 @@ static LRESULT DEFWND_DefWinProc( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPa
if (SendMessageW(GetParent(hwnd), WM_SETCURSOR, wParam, lParam)) return TRUE;
}
}
return NC_HandleSetCursor( hwnd, wParam, lParam );
NC_HandleSetCursor( hwnd, wParam, lParam );
break;
case WM_SYSCOMMAND:
return NC_HandleSysCommand( hwnd, wParam, lParam );

View File

@ -1692,8 +1692,7 @@ LONG NC_HandleNCActivate( HWND hwnd, WPARAM wParam )
*/
LONG NC_HandleSetCursor( HWND hwnd, WPARAM wParam, LPARAM lParam )
{
if (hwnd != WIN_GetFullHandle( (HWND)wParam ))
return 0; /* Don't set the cursor for child windows */
hwnd = WIN_GetFullHandle( (HWND)wParam );
switch(LOWORD(lParam))
{