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

    BaseLinks evaluation...

    SDK Help
    0
    2
    245
    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

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 19/09/2003 at 05:56, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.100 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      DescriptionCheckDragAndDrop *dcu = static_cast<DescriptionCheckDragAndDrop*>(data);
      switch (dcu->id[0].id)
      {
      case DPT_BASE_FOUND:
      vdata->SetLink(DPT_BASE_FOUND,(BaseObject* )dcu->element);
      break;
      return TRUE;
      }
      That´s how I am checking for a linkfield drag & drop. This works but when the user once got over the field the dragged object is definetly set.
      So there must be a way to only accept the dragged element if the user actually drops it into the field. (as it is in Cinema 4D) 
      And the big question: How is this done? 🙂
      Thanks in advance
      Best
      Samir

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 19/09/2003 at 09:25, xxxxxxxx wrote:

        my fault, all working 🙂

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