comctl32/treeview: Send WM_CONTEXTMENU only to parent window.
This commit is contained in:
parent
5e86d84337
commit
067d528855
|
@ -4263,7 +4263,7 @@ TREEVIEW_RButtonDown(TREEVIEW_INFO *infoPtr, LPARAM lParam)
|
|||
ClientToScreen(infoPtr->hwnd, &ht.pt);
|
||||
|
||||
/* Send a WM_CONTEXTMENU message in response to the RBUTTONUP */
|
||||
SendMessageW(infoPtr->hwnd, WM_CONTEXTMENU,
|
||||
SendMessageW(infoPtr->hwndNotify, WM_CONTEXTMENU,
|
||||
(WPARAM)infoPtr->hwnd, MAKELPARAM(ht.pt.x, ht.pt.y));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue