THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/07/2004 at 15:05, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.100
Platform:
Language(s) : C.O.F.F.E.E ;
---------
Hi all,
I have a ToolData plugin, which in turn has a SubDialog which handles the tool's active settings (allocated via AllocSubDialog()).
When I change any of the tool settings whilst using the plugin in C4D, I receive a call to 'SubDialog::Command(LONG id,const BaseContainer &msg;)' to respond to it. So far so good.
What I don't understand is the following:
1. How does the ToolData plugin communicate with its SubDialog? Am I supposed to keep a pointer to it when it is allocated in AllocSubDialog?
2. How can I get the SubDialog to trigger a call in the ToolData object?
So, basically, I don't understand how the ToolData object, and its SubDialog are supposed to communicate...
(The only ToolData example in the SDK has a set of controls, but they don't appear to be connected and don't do anything.)
Any pointers, please?
Cheers - Steve