Tree View - How to?

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

On 18/06/2003 at 07:45, xxxxxxxx wrote:

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

---------
Hi all,
 As I'm am very new to the world of Maxon's SDK programmers I lack quite some experience and my question may sound quite simple. Stiil here it goes:
  I have created a CommandData plugin that opens a GeDialog window. Next i would like to set-up in this window a tree view of objects that i'll drag and drop from Object Manager. I have searched the SDK and found out the TreeViewCustomGui class. But I'm stuck in understanding the usage of SetRoot member function.
What I would like to know how can I use this class to instantiate a tree view object ?(using SetRoot?)
Best regards,
Aries

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

On 18/06/2003 at 09:10, xxxxxxxx wrote:

Hi,
there is an example in the example project files that uses exactly this. Have a look at it. I guess it´s called ActiveObject.cpp

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

On 18/06/2003 at 23:12, xxxxxxxx wrote:

Thankx a lot I 'll have a look
Aries

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

On 19/06/2003 at 04:45, xxxxxxxx wrote:

I saw that the list created in the example is initialized to ActiveDocument but my question is how can I initialize the list in such manner to display my own set of data (not displayed in the object manager) ?
Best Regards,
Aries

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

On 24/06/2003 at 13:45, xxxxxxxx wrote:

You should derive your own class from TreeViewFunctions and then pass a pointer to it. The 'root' object is then whatever you choose it to be, something that makes sense to your set of functions.