mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 02:46:57 +00:00
[User32]
- Fixed right click on title bar. See CORE-7054. svn path=/trunk/; revision=62770
This commit is contained in:
parent
8f32653a21
commit
f398c22dbe
1 changed files with 2 additions and 2 deletions
|
@ -1135,8 +1135,8 @@ LRESULT NC_HandleNCRButtonDown( HWND hwnd, WPARAM wParam, LPARAM lParam )
|
||||||
ReleaseCapture();
|
ReleaseCapture();
|
||||||
if (hittest == HTCAPTION || hittest == HTSYSMENU)
|
if (hittest == HTCAPTION || hittest == HTSYSMENU)
|
||||||
{
|
{
|
||||||
ERR("Msg pt %x and Msg.lParam %x and lParam %x\n",MAKELONG(msg.pt.x,msg.pt.y),msg.lParam,lParam);
|
TRACE("Msg pt %x and Msg.lParam %x and lParam %x\n",MAKELONG(msg.pt.x,msg.pt.y),msg.lParam,lParam);
|
||||||
SendMessageW( hwnd, WM_SYSCOMMAND, SC_MOUSEMENU + HTSYSMENU, msg.lParam );
|
SendMessageW( hwnd, WM_CONTEXTMENU, (WPARAM)hwnd, MAKELONG(msg.pt.x,msg.pt.y));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue