Commit 736d8ff0 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comctl32/listview: Block header items drag if LVS_EX_HEADERDRAGDROP isn't set.

parent 045c94ba
...@@ -9234,8 +9234,13 @@ static LRESULT LISTVIEW_HeaderNotification(LISTVIEW_INFO *infoPtr, const NMHEADE ...@@ -9234,8 +9234,13 @@ static LRESULT LISTVIEW_HeaderNotification(LISTVIEW_INFO *infoPtr, const NMHEADE
infoPtr->xTrackLine = -1; infoPtr->xTrackLine = -1;
break; break;
case HDN_BEGINDRAG:
notify_forward_header(infoPtr, lpnmh);
return (infoPtr->dwLvExStyle & LVS_EX_HEADERDRAGDROP) == 0;
case HDN_ENDDRAG: case HDN_ENDDRAG:
FIXME("Changing column order not implemented\n"); FIXME("Changing column order not implemented\n");
notify_forward_header(infoPtr, lpnmh);
return TRUE; return TRUE;
case HDN_ITEMCHANGINGW: case HDN_ITEMCHANGINGW:
......
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