comctl32/listview: Block header items drag if LVS_EX_HEADERDRAGDROP isn't set.
This commit is contained in:
parent
045c94baf1
commit
736d8ff023
|
@ -9233,11 +9233,16 @@ static LRESULT LISTVIEW_HeaderNotification(LISTVIEW_INFO *infoPtr, const NMHEADE
|
||||||
LISTVIEW_DrawTrackLine(infoPtr);
|
LISTVIEW_DrawTrackLine(infoPtr);
|
||||||
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:
|
||||||
case HDN_ITEMCHANGINGA:
|
case HDN_ITEMCHANGINGA:
|
||||||
return notify_forward_header(infoPtr, lpnmh);
|
return notify_forward_header(infoPtr, lpnmh);
|
||||||
|
|
Loading…
Reference in New Issue