Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    GeDialog Drag And Drop

    SDK Help
    0
    2
    208
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      On 27/08/2015 at 08:39, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R16 
      Platform:    Mac  ;  
      Language(s) :     C++  ;

      ---------
      Hello, I'm trying to figure out a way to move GeDialog elements around with Drag and Drop functionality.  Using the asynctest example I've been trying to make it so I could rearrange the groups within a ScrollGroup with clicking and dragging an element from within it over another one.

      Such as clicking "Rows 1" and dragging it down to "Rows 2" and swapping the place of the two of them.  But I can't seem to find any gui element that can be dragged within a GeDialog.  Is there such an element that I missed?  I know I could do this with buttons but Drag and Drop seems a cleaner solution.

      Thanks for any possible help,
      Dan

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        On 28/08/2015 at 02:30, xxxxxxxx wrote:

        Hello,

        dragging GUI elements around dialogs is no typical Cineam 4D feature. And I don't think it is possible to do so. You could try to introduce a GeUserArea based custom GUI element that can trigger and catch drag events so you can "drag" this custom element. But I haven't tried that myself.

        Best wishes,
        Sebastian

        1 Reply Last reply Reply Quote 0
        • First post
          Last post