On 01/09/2017 at 07:16, xxxxxxxx wrote:
Cinema 4D Version: R18
Platform: Windows ;
Language(s) : C++ ;
I have a description bitmap button with
I use the following to get the parameter.
(BitmapButtonStruct* )data->GetCustomDataType(CUSTOMDATATYPE_BITMAPBUTTON, BUTTON_ID);
But how can I get the toggle state ?
Thank you for your time.
On 04/09/2017 at 08:18, xxxxxxxx wrote:
unfortunately the toggle state is handled internally inside of the CustomGUI (not the CustomDataType), so there's no way to access it. You need to track it on your own in reaction to button presses.