Virtual-TreeView
Virtual-TreeView copied to clipboard
Draw drag header - windows zoom
Draw drag a header when using Windows zoom (Win 10, zoom by combo items) is Incorrect. See video attachment.
https://user-images.githubusercontent.com/116547342/197475127-24729a63-94fc-4e1e-ab41-9c6fa67a374c.mp4
Hi, isn't this issue with zoom itself?
While during drag&drop of nodes VTV lets the system do the drawing of the drag image (via IDataObject and IDragSourceHelper), during header drag the VTV control does the drawing on its own. So some dummy IDataObject could improve the situation and allow us to eliminate those old code paths.
Methods to look into:
TVTDragImage.PrepareDrag()TVTHeader.DragTo()TBaseVirtualTree.UpdateWindowAndDragImage()
Issue #1138 was created to prepare for this issue.