Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/03/2004 at 04:48, xxxxxxxx wrote:
User Information: Cinema 4D Version: 8.200 Platform: Windows ; Language(s) : C++ ;
--------- Hello, i have create my own TreeViewFunction for a dialog. (like the SDK- ActiveObject example). Now, I like used the drag functions within the tree. I overwriting the AcceptDragObject-Function and set the typ at INSERT_BEFORE|INSERT_AFTER|INSERT_UNDER. Now, I have got a funny behavior. I can´t INSERT_UNDER under the first entry. And if I try to INSERT_AFTER after the last entry, Cinema crashed with Stack Overflow. Can anyone help me, Marky
On 17/09/2007 at 22:03, xxxxxxxx wrote:
I realize that this is an extremely old topic, but I must concur with this even for R9 and R10. I am experiencing similar odd behavior with AcceptDragObject() when drag-n-dropping an element to a new position within the list - no crashing, just an unexpected pruning of my root tree list. The behavior is pretty much random - I can drag-n-drop on one try and *poof* there it is or I can do the same dozens of times before it happens. I've double-triple-quadruple-quintuple-... checked MY code and it is about as solid as any code out there: the logic is perfectly perfect. Thus I am led to believe that this is some buggy behavior in the TreeView itself. I cannot provide any situation where this is bound to occur - it just happens and I'm left with a portion of the list items gone for good.
Pray-tell what could be the cause? Is there any message or clue beyond just this method to provide an informational check here?
Thanks,