Reordering Tree records via mouse dragging |
Post Reply |
Author | ||
Orf
Newbie Joined: 29 September 2011 Location: Kirkland, WA Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 29 September 2011 at 5:50pm |
|
I have a tree setup in C# that displays the files system, similar to the Details view in Windows Explorer.
I want to be able to select a file that already exists in the tree, and drag it on top of a folder. When hovering over a closed folder, I'd like that folder to automatically open. When hovering over other files, I'd like the red >---< insert indicator to appear, just like it does for the OLE Drag/Drop. When I release the mouse, I'd like the file to be moved from its old position in the tree to the position marked by the indicator. How do I do this? I've been experimenting with the DragDrop functionality but it appears to only be potentially possible when dragging a node from tree1 into treeN where N is not 1. I'm doing the following:
Callbacks:
When I start dragging a node, my "Begin drag" message is printed correctly to the output window, but the mouse cursor shows that the source tree isn't a valid drop target. Is there anyway to do what I want? |
||
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
|
Hi,
please open a support ticket: http://forum.codejock.com/forum_posts.asp?TID=14125&FID=124&PR=3&title=notice-codejock-support-policy Andre |
||
Codejock support
|
||
Orf
Newbie Joined: 29 September 2011 Location: Kirkland, WA Status: Offline Points: 3 |
Post Options
Thanks(0)
|
|
That was my next course of action.
Thanks Andre, will do! |
||
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
|
Hi;
I asked nearly the same question in may 2011 (see my post at http://forum.codejock.com/forum_posts.asp?TID=18336) and I also opened a support ticket (#26604), but I never got a solution. I'm still waiting for an implementation by CJ team (last activity from CJ concerning this issue: May, 15 2011)! |
||
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |