button in tag dialog
-
On 06/11/2013 at 12:11, xxxxxxxx wrote:
User Information:
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.
Thanks
-
On 06/11/2013 at 12:50, xxxxxxxx wrote:
Hi Peter,
check the MSG_DESCRIPTION_COMMAND documentation.
Cheers,
-Niklas -
On 06/11/2013 at 15:44, xxxxxxxx wrote:
Hi Niklas
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?
Peter -
On 06/11/2013 at 19:36, xxxxxxxx wrote:
Not in Execute() but in Message() for the tag.