Enabling and disabling elements

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

On 20/08/2009 at 21:47, xxxxxxxx wrote:

User Information:
Cinema 4D Version:    
Platform:      
Language(s) :

---------
Hello,

I have created a user interface for my project, and I would like certain elements on that interface to be disabled until a specific check is done. In fact, I have used GROUP ID_MAKESYMMETRY for a tab which contains the interface for one aspect of my plugin. It would be nice to be able to disable this entire tab. I want it to be visible just inactive. What syntax what I need to disable these elements? I could not find a flag that accomplished this, HIDDEN; completely removed them.

Any help would be greatly appreciated.

Thanks,

~Shawn

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

On 20/08/2009 at 23:58, xxxxxxxx wrote:

check the docs for GetDEnabling

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

On 21/08/2009 at 02:57, xxxxxxxx wrote:

Do you mean graying out elements with disabling? If then GetDEnabling is indeed the right place to do it. You have to overload it and check within for the current description element. If you want to disable it (gray out) return FALSE, otherwise TRUE.

There are some examples in the SDK examples.

cheers,
Matthias