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

    DescriptionToolData Init/FreeTool

    SDK Help
    0
    2
    181
    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 04/01/2013 at 15:42, xxxxxxxx wrote:

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

      ---------
      Hello

      Getting to know C++ with C4D R12 better. Starting to get ideas. But here I have a little problem:

      In a tool I am working on I am not sure when InitTool and FreeTool get called. I *thought* InitTool would happen every time my tool's dialog pops up and EndTool when it goes away.

      But it looks as InitTool only happens the first time it gets called. Am I missing something?

      Are there other ways to update the contents of my dialog upon showing it?

      Thanks

      Peter

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

        On 09/01/2013 at 12:16, xxxxxxxx wrote:

        As always, I am assuming when nobody responds to question it must be really stupid.

        And it was. Because I do get the FreeTool message when I select another tool (not just selecting an object, which is what I did). And then, when I re-enter my plugin I do properly receive the InitTool message.

        So there.

        Thanks

        Peter

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