Home » U++ Library support » TreeCtrl » Drag&drop example bug and questions
Drag&drop example bug and questions [message #49349] |
Tue, 30 January 2018 14:21 |
cbpporter
Messages: 1406 Registered: September 2007
|
Ultimate Contributor |
|
|
Hi!
I've never done D&D drop before, in U++ or otherwise, but I would like to have D&D file move in a TreeCtrl.
The best sample I could find in U++ was reference/DragAndDrop.
Now, first of all, when dragging from the same instance of the app, the second drop will ASSERT. This should be fixed. It doesn't assert when using two different instaces of the app.
Beyond that, there are a few things I would like to figure out:
1. How to limit D&D to a single instance of the app and preferably to a single TreeCtrl.
2. How to disable reordering of items. The TreeCtrl is a folder tree. I want to drag from one folder and drop in another folder: a rename/move. Reordering in the same parent node is not an operation that makes sense. I can ignore this but it would be great if I could fine tune when the little line that shows drop position shows up.
3. Are all D&D operations done through PasteClip?
Thank you!
|
|
|
|
|
Goto Forum:
Current Time: Fri Sep 20 06:36:18 CEST 2024
Total time taken to generate the page: 0.03384 seconds
|