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

    Foldable Groups in Dialogs

    SDK Help
    0
    3
    455
    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 01/11/2016 at 02:33, xxxxxxxx wrote:

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

      ---------
      Hi,

      I would like to use the foldable group control that is available for Descriptions, but in a custom GeDialog. I have tried various combinations of groupflags when creating my group via GroupBegin/GroupBorder but the closest I got was then using BFV_BORDERGROUP_FOLD which does something similar but is marked as deprecated.

      Anybody know a way for achieving this?

      Thanks

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

        On 01/11/2016 at 03:22, xxxxxxxx wrote:

        Hi,

        you can achieve something like this with the CUSTOMGUI_QUICKTAB.
        Please take a look at the gedialog_gadgets example.
        In this example take a look at QuickTabSubDialog. In QuickTabSubDialog::CreateLayout() you can see how to setup such a foldable group titlebar (ID_QUICKTAB_SUBDIALOG_SUBGROUP_TITLE) and how to do the folding (basically hiding/unhiding a sub-group) in QuickTabSubDialog::Command().

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

          On 01/11/2016 at 03:49, xxxxxxxx wrote:

          Thanks Andreas!

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