Send WM_CONTEXTMENU on WM_RBUTTONUP, not WM_RBUTTONDOWN.

This commit is contained in:
Abey George 1999-07-24 10:14:51 +00:00 committed by Alexandre Julliard
parent 106b08320f
commit 46166178e9
1 changed files with 2 additions and 2 deletions

View File

@ -205,8 +205,8 @@ static LRESULT DEFWND_DefWinProc( WND *wndPtr, UINT msg, WPARAM wParam,
case WM_NCLBUTTONDBLCLK: case WM_NCLBUTTONDBLCLK:
return NC_HandleNCLButtonDblClk( wndPtr, wParam, lParam ); return NC_HandleNCLButtonDblClk( wndPtr, wParam, lParam );
case WM_RBUTTONDOWN: case WM_RBUTTONUP:
case WM_NCRBUTTONDOWN: case WM_NCRBUTTONUP:
if ((wndPtr->flags & WIN_ISWIN32) || (TWEAK_WineLook > WIN31_LOOK)) if ((wndPtr->flags & WIN_ISWIN32) || (TWEAK_WineLook > WIN31_LOOK))
{ {
ClientToScreen16(wndPtr->hwndSelf, (LPPOINT16)&lParam); ClientToScreen16(wndPtr->hwndSelf, (LPPOINT16)&lParam);