JAM-Software / Virtual-TreeView

Virtual Treeview is a Delphi treeview control
http://www.jam-software.de/virtual-treeview/
646 stars 253 forks source link

Draw drag header - windows zoom #1137

Closed ElRicoB21 closed 1 month ago

ElRicoB21 commented 2 years ago

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

livius2 commented 2 years ago

Hi, isn't this issue with zoom itself?

joachimmarder commented 2 years ago

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:

Issue #1138 was created to prepare for this issue.

joachimmarder commented 1 month ago

Should now be fixed in the latest code in the master branch. @ElRicoB21 : Could you please test this?