Enable/Disable plugin icon
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/03/2004 at 14:41, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.206
Platform:
Language(s) : C++ ;---------
Hi,
I have a plugin that executes when the user chooses it from the plugin menu.
The plugin needs to be added onto a toolbar so the user has easy access, but I want to be able to make it so the icon becomes 'pressed' when the user clicks it. When the user clicks it again, the icon will become 'unpressed'Similar to how the XYZ icons work
What do I need to do to go about it?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/03/2004 at 01:19, xxxxxxxx wrote:
Just keep track of your current state in a class variable, and report it to C4D in CommandData::GetState().