tab's



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

    On 24/03/2005 at 12:05, xxxxxxxx wrote:

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

    ---------
    Hi,
    how can i add tabs to the attribute manager.
    i am using the tagdata plugin



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

    On 24/03/2005 at 12:55, xxxxxxxx wrote:

    tabs? The resouces have GROUP elements that automatically add quicktabs to the AM. You don´t have to code them yourself.



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

    On 24/03/2005 at 14:11, xxxxxxxx wrote:

    Can i use these with description res files too ?



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

    On 24/03/2005 at 15:59, xxxxxxxx wrote:

    yes, they are used in the description res files. Just have a look at other C++ plugins with description resources (.res files as you correctly stated). They have the

    GROUP ID

    flag, which will automatically add a new quicktab if you specify the ID part. means, you give it a "name" and then list this "name" in your description .h file (and in the .str file of course, so Cinema knows what string to show as tab name).

    //In your .res file

    GROUP MY_GROUP_NAME
    {
    //Add elements in here. Example:
    REAL ID_OF_ELEMENT {MIN 0;MAX 100; STEP 0.01;}
    }

    //In your .h file (Example code)

    enum
    {
    MY_GROUP_NAME = 1000,
    ELEMENT_IDs,
    [...]

    _MY_DUMMY_
    };

    //In your .str file

    MY_GROUP_NAME "Tab Name";

    Hope that helps



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

    On 25/03/2005 at 02:04, xxxxxxxx wrote:

    Got it, it works...
    Ok, thanks so much...


Log in to reply