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
    • Recent
    • Tags
    • Users
    • Login

    Who owns the GeUserArea?

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 329 Views
    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 Offline
      Helper
      last edited by

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

      On 06/02/2009 at 04:19, xxxxxxxx wrote:

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

      ---------
      Hi!

      Bool AttachUserArea(GeUserArea& ua, const GadgetPtr& id, LONG userareaflags)

      Am I right, that I have to delete the GeUserArea element when I don't need it anymore or does CINEMA 4D takes the ownership? I can't find that information in the doc.

      Thanks.

      Sebastian

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

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

        On 06/02/2009 at 04:31, xxxxxxxx wrote:

        As the user area is passed as reference, it seems clear that you are the owner of the user area.

        Easiest way to not care about is of course:
        yourdialogClass
        {
        private:
        GeUserArea userarea;
        }

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

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

          On 06/02/2009 at 04:34, xxxxxxxx wrote:

          oh yes.. you are right. thx. stupid question.

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

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

            On 06/02/2009 at 07:33, xxxxxxxx wrote:

            no stupid question, just obvious. 😉

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