On 02/11/2015 at 05:28, xxxxxxxx wrote:
Cinema 4D Version:
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
is there a way to detect or respond to a RMB click on an InExclude element flag? Or any click at all?
Browsing the docs I cannot find any corresponding message.
On 03/11/2015 at 03:24, xxxxxxxx wrote:
are you talking about an In/Exclude in a description or a GeDialog? In a GeDialog, clicking on the flags in the InExclude GUI will call the parent dialog's Command() function.
The state of the flags is part of the data stored by the InExclude data. So when one changes the flags, the parameter is changed. In a NodeData based plugin MSG_DESCRIPTION_POSTSETPARAMETER is sent after one changed the flags.
Both the left and the right mouse button will switch the state of the flag so there is no distinction between these two.
On 03/11/2015 at 03:53, xxxxxxxx wrote:
Sorry, yes, I am in a description.
And thanks, that should be enough for me to work with I guess. Gotta check the according states myself then for distinction.
However, it would be nice to have an element specific message in case of a click on such a flag. Sorry that should have gone into feature requests probably.