THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 15/04/2008 at 05:11, xxxxxxxx wrote:
Cinema 4D Version: 10.5
Platform: Windows ;
Language(s) : C++ ;
Hi, I'm working on a plugin that needs a dynamic interface, sort of like Xpresso or the Hypergraph in Maya. I want to enable the user to link together a hierarchy of joints (each one of them with inputs and outputs) before creating them. A hierarchical represaentation like in the Object manager would also be satisfying. Any ideas on this one?
On 15/04/2008 at 06:28, xxxxxxxx wrote:
Well this is already really advanced GUI stuff so be warned. First you have to check for the MSG_EDIT message in your node (tags, objects etc). Within MSG_EDIT you can bring up a async dialog with a GeUserArea. Within the GeUserArea you can do now what ever you want to display (draw lines, bitmaps, text etc.). The Asynctest SDK example uses a GeUserArea to display a gradient within a async dialog. This may be a good starting point to learn about user areas.
Take a look at the ActiveObject.cpp in the cinema4dsdk project, and the TreeviewFunctions. ;o)
On 15/04/2008 at 06:31, xxxxxxxx wrote:
Cactus Dan is right, I didn't realize you only wanted to display some sort of hierachy. The TreeView custom gui would be the right thing to use.
On 16/04/2008 at 04:54, xxxxxxxx wrote:
Thx very much