ComboBox in Tagdata plug



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

    On 06/07/2008 at 13:06, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   10 demo 
    Platform:   Windows  ;   
    Language(s) :     C++  ;  XPRESSO  ;

    ---------
    Hi,

    How do I get a pointer to my combobox in the "Init" function of a TagData plug (it's a description resource combo).

    Thanks!
    Jan



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

    On 14/07/2008 at 02:43, xxxxxxxx wrote:

    Do you just want to read out the value of the combo box? If so just get the BaseContainer of the tag to access the description.

    > \> BaseTag                    \*tag = (BaseTag\* )node; \> BaseContainer \*data = tag->GetDataInstance(); \>

    cheers,
    Matthias



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

    On 15/07/2008 at 02:16, xxxxxxxx wrote:

    Hi,

    No it's needed to fill the combo.
    But what i found out in the meantime, i fear it's not possible to do that with a description resource.

    Regards,

    Jan



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

    On 15/07/2008 at 06:22, xxxxxxxx wrote:

    It is possible but only if you do the description resource as dynamic and include GetDDescription().


Log in to reply