Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draw drag header - windows zoom #1137

Open
ElRicoB21 opened this issue Oct 24, 2022 · 2 comments
Open

Draw drag header - windows zoom #1137

ElRicoB21 opened this issue Oct 24, 2022 · 2 comments

Comments

@ElRicoB21
Copy link

Draw drag a header when using Windows zoom (Win 10, zoom by combo items) is Incorrect. See video attachment.

DragHeader.mp4
@livius2
Copy link
Contributor

livius2 commented Oct 25, 2022

Hi, isn't this issue with zoom itself?

@joachimmarder
Copy link
Contributor

joachimmarder commented Oct 26, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants