Commit 602dea1e authored by Daniel Jelinski's avatar Daniel Jelinski Committed by Alexandre Julliard

comctl32/treeview: Fix NM_RCLICK behavior.

parent 7e56fd38
......@@ -4257,9 +4257,11 @@ TREEVIEW_RButtonDown(TREEVIEW_INFO *infoPtr, LPARAM lParam)
}
else
{
TREEVIEW_RButtonUp(infoPtr, &ht.pt);
SetFocus(infoPtr->hwnd);
TREEVIEW_SendSimpleNotify(infoPtr, NM_RCLICK);
if(!TREEVIEW_SendSimpleNotify(infoPtr, NM_RCLICK))
{
TREEVIEW_RButtonUp(infoPtr, &ht.pt);
}
}
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment