Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TreeCtrl » Like the new Drag and Drop TreeCtrl but...
Re: Like the new Drag and Drop TreeCtrl but... [message #11267 is a reply to message #11234] Wed, 29 August 2007 11:30 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
nixnixnix wrote on Tue, 28 August 2007 08:05

Yes! Of course. So in fact the option control is just the square checkbox.

I found what might be a bug whilst playing with the D&D tree control. If you drag and drop a node onto one of its children or granchildren etc the child accepts the parent node and in effect a copy of the parent and all its children appears to be made. However, there are a finite number of option controls and so a crash eventually results.

In my opinion, a child node should always refuse its parent (or grandparent etc). If a user wants to rearrange their tree so radically, they should explicitly copy the parent node or do two or more separate operations to achieve their goal.





Do not quite understand this; I believe I have correctly managed this in the code.

What do you mean by "finite number of option controls" ?

(BTW, obviously, embedded ctrls and copy is a trouble - default D&D does not account for that).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TreeCtrl Scroll triggers Parent Refresh
Next Topic: hierarchical tree data structure & binding to TreeCtrl
Goto Forum:
  


Current Time: Thu Aug 21 09:12:58 CEST 2025

Total time taken to generate the page: 0.10627 seconds