Fix messages sent when right-clicking in a blank (non-item) area of a
listview.
This commit is contained in:
parent
38012a5604
commit
af7f901c9c
|
@ -8638,8 +8638,6 @@ static LRESULT LISTVIEW_RButtonUp(HWND hwnd, WORD wKey, WORD wPosX,
|
||||||
nmlv.iItem = -1;
|
nmlv.iItem = -1;
|
||||||
nmlv.iSubItem = 0;
|
nmlv.iSubItem = 0;
|
||||||
}
|
}
|
||||||
nmlv.iItem = lvHitTestInfo.iItem;
|
|
||||||
nmlv.iSubItem = lvHitTestInfo.iSubItem;
|
|
||||||
nmlv.ptAction.x = wPosX;
|
nmlv.ptAction.x = wPosX;
|
||||||
nmlv.ptAction.y = wPosY;
|
nmlv.ptAction.y = wPosY;
|
||||||
ListView_LVNotify(GetParent(hwnd), nCtrlId, &nmlv);
|
ListView_LVNotify(GetParent(hwnd), nCtrlId, &nmlv);
|
||||||
|
|
Loading…
Reference in New Issue