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

    Enabling and disabling elements

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 249 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 20/08/2009 at 21:47, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:    
      Platform:      
      Language(s) :

      ---------
      Hello,

      I have created a user interface for my project, and I would like certain elements on that interface to be disabled until a specific check is done. In fact, I have used GROUP ID_MAKESYMMETRY for a tab which contains the interface for one aspect of my plugin. It would be nice to be able to disable this entire tab. I want it to be visible just inactive. What syntax what I need to disable these elements? I could not find a flag that accomplished this, HIDDEN; completely removed them.

      Any help would be greatly appreciated.

      Thanks,

      ~Shawn

      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 20/08/2009 at 23:58, xxxxxxxx wrote:

        check the docs for GetDEnabling

        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 21/08/2009 at 02:57, xxxxxxxx wrote:

          Do you mean graying out elements with disabling? If then GetDEnabling is indeed the right place to do it. You have to overload it and check within for the current description element. If you want to disable it (gray out) return FALSE, otherwise TRUE.

          There are some examples in the SDK examples.

          cheers,
          Matthias

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