Drag and Drop
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/12/2003 at 05:37, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.207
Platform: Windows ;
Language(s) : C++ ;---------I need help with dragndrop. The dragndrop messages are sent between dialogs. I want to drop things on objects in the view window. That works, but of course I have no chance to listen to the drop messages. I want to drop my own kind of settings on the objects, so I need to know inside the objects that a drop has done on them and process it....that would be no problem, all kind of objects I use are implemented by me. But that message goes to the view, which isnt implemented by me. How are normally these messages handled by the view? Are the objects called and theire attributes are modified? And what is the
DRAGTYPE_ATOMARRAY? Kind of user defined dragtype?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/12/2003 at 06:31, xxxxxxxx wrote:
....and how can I set the dragndrop information? In treeviewfunctions I only can find GetDragType....if I return a specified type, for ex. DRAGTYPE_BROWSER_MATERIAL, at least something is done, my object receives a MSG_CHANGE......but where I can set the according basecontainer for dragndrop?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/12/2003 at 05:39, xxxxxxxx wrote:
In 8.5 you could probably intercept MaterialDragAndDrop messages to do this. The dragndrop information is set when you start the drag, i.e. in HandleMouseDrag() or GetDragType()/GenerateDragArray() for lists.