THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/12/2009 at 07:01, xxxxxxxx wrote:
Cinema 4D Version: 11.5
Platform: Windows ; Mac ;
Language(s) : C++ ;
In a Tag plugin I need to create a dynamic list, exactly the same that you can see in the C4D Character Tags -> Morph, with ADD and REMOVE buttons too and then possibility to change the items names!
Every items of the list will correspond to a generic object instance!
I know that I have to work in GetDDescription function, but isn't clear how to create the "LIST". The DESC_CUSTOMGUI don't include this kind of object and I don't know how to create it from a custom resource.
I saw the customgui_inexclude.cpp and customgui_listview.cpp in resource api but I don't know if is it possible (in SDK there is an example but is for dialogs not for descriptions) and how put them in a description!?!
On 17/12/2009 at 07:21, xxxxxxxx wrote:
A good starting point is to check the MorpMixer SDK example. It shows how to add sliders depending on the number of child objects. In your case react to button clicks and add a new entry to the tag's container or better to a sub-container of the tag's container. In GetDDescription() read out the sub-container and depending on the number of container entries create your dynamic descriptions.
On 17/12/2009 at 09:36, xxxxxxxx wrote:
Thank's I saw the SDK example and other old posts on this forum, but probably there is something that take me in confusion!
I'll try to make some test and then I'll post my results!