THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/11/2004 at 07:50, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.100
Platform: Windows ;
Language(s) : C++ ;
---------
Hello,
i have in my Dialog a TreeView and a DescriptionCustomGUI. In some cases i need to drag an element (ObjectData) from the TreeView to a LinkBoxGui in the DescriptionCustomGUI.
While dragging over the linkbox, the dragged element is shown in the linkbox (like accepting the object). But after releasing the mouse, the link box leaves empty.
I start the dragging in the TreeView in GenerateDragArray, where i add my object directly to the AtomArray.
The DescriptionCustomGUI was created with DESCRIPTION_OBJECTSNOTINDOC and the dragged object is not in a document. May this cause the problem?
How is the SetLink() for a LinkBoxGui done manually? Can i assign my object (ObjectData* myobjectdata) directly to the LinkBoxGui, like:
mybasecontainer->SetLink(LINKBOX_ID, myobjectdata);
Torsten