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 » Drag&drop example bug and questions
Re: Drag&drop example bug and questions [message #49411 is a reply to message #49352] Tue, 06 February 2018 11:57 Go to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
cbpporter wrote on Tue, 30 January 2018 16:26
Second bug/weird feature: d.Accept(MyDnDName) will set the data for "d" to the correct string + exactly 4 '\0' characters.

Needless to say this messes up all hash searches.


Actually, that is the reason why it did crash (with some more problems in GetTextSize).

The example should be now fixed. The moral of the story is that PasteClip can return zero padded data.

Example now fixed in trunk.

1. you have control over that format ID. Use it Smile Also investigate InternalClip etc

2. You do not need to Insert at the position it suggests. E.g. get parent node and add to it.

3. Yes.
 
Read Message
Read Message
Read Message
Previous Topic: how to wake up TreeCtrl
Next Topic: off by 1 dynamic tree with sql: SOLVED
Goto Forum:
  


Current Time: Sun May 12 02:49:03 CEST 2024

Total time taken to generate the page: 0.01922 seconds