Fix messages sent when right-clicking in a blank (non-item) area of a

listview.
This commit is contained in:
James Hatheway 2000-10-19 22:28:06 +00:00 committed by Alexandre Julliard
parent 38012a5604
commit af7f901c9c

View file

@ -8638,8 +8638,6 @@ static LRESULT LISTVIEW_RButtonUp(HWND hwnd, WORD wKey, WORD wPosX,
nmlv.iItem = -1;
nmlv.iSubItem = 0;
}
nmlv.iItem = lvHitTestInfo.iItem;
nmlv.iSubItem = lvHitTestInfo.iSubItem;
nmlv.ptAction.x = wPosX;
nmlv.ptAction.y = wPosY;
ListView_LVNotify(GetParent(hwnd), nCtrlId, &nmlv);