Group BFV_BORDERGROUP_FOLD_OPEN

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 30/07/2005 at 17:06, xxxxxxxx wrote:

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

---------
Is there a way to add/remove this flag for a dialog Group after CreateLayout() in order to change whether a foldable Group is opened or closed?

Thanks,

Robert

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 30/07/2005 at 23:40, xxxxxxxx wrote:

Yes there is a way. Just SetBool(GROUP_ID, TRUE/FALSE) to set it open/closed respectively. And you can read the changes folded state in Command() using if (id == GROUP_ID) and msg.GetBool(BFM_ACTION_VALUE). Why do they not tell us these things?! 🙂