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

    Fold state of Dialog Groups

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 299 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 01/07/2006 at 13:57, xxxxxxxx wrote:

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

      ---------
      This is probably 'not possible', but thought to ask anyway. Is it possible to fold/unfold a foldable Group in a GeDialog after CreateLayout(). I mean, folding as set by: BFV_BORDERGROUP_FOLD and BFV_BORDERGROUP_FOLD_OPEN in GroupBegin().

      The reason that I ask is that my preferences cannot be loaded before this since it directly sets other GUI elements - which must exist already, right? So, to store the folded state and use it, I'd need to be able to do after the groups are created.

      Thanks,

      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 01/07/2006 at 15:15, xxxxxxxx wrote:

        Ah! Found the way to do this after creation of the dialog layout:

        SetLong(GROUP_ID, BFV_BORDERGROUP_FOLD_OPEN);

        Now I can restore the fold state from my preferences.

        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 01/07/2006 at 18:59, xxxxxxxx wrote:

          So much for long-term memory. 😉 I found an old thread of mine where I tell myself how to do both the setting and getting for this. Now if I could only remember my name...

          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 02/07/2006 at 02:49, xxxxxxxx wrote:

            haha, lovely thread Kuro 😜

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