Fold state of Dialog Groups

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,

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.

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...

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 😜