Foldable Groups in Dialogs
On 01/11/2016 at 02:33, xxxxxxxx wrote:
Cinema 4D Version: R16-R18
Platform: Windows ;
Language(s) : C++ ;
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?
On 01/11/2016 at 03:22, xxxxxxxx wrote:
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().
On 01/11/2016 at 03:49, xxxxxxxx wrote: