On 06/11/2013 at 12:11, xxxxxxxx wrote:
Cinema 4D Version: R15
Platform: Mac ;
Language(s) : C++ ;
In a tag plugin how can my code find out that there was a button clicked in the dialog? Is this done inside 'MyTag::Execute' or some other way?
When the button is clicked my code goes to "MyTag::Execute" but how can I know what caused it? AT the moment I am only checking the status of a handful of radio buttons.
On 06/11/2013 at 12:50, xxxxxxxx wrote:
check the MSG_DESCRIPTION_COMMAND documentation.
On 06/11/2013 at 15:44, xxxxxxxx wrote:
Ok. After a bit of digging I found it. But in this function call:
EXECUTIONRESULT MyTag::Execute(BaseTag* tag, BaseDocument* doc, BaseObject* op, BaseThread* bt, Int32 priority, EXECUTIONFLAGS flags)
where is there a message?
On 06/11/2013 at 19:36, xxxxxxxx wrote:
Not in Execute() but in Message() for the tag.