THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/06/2003 at 19:30, xxxxxxxx wrote:
Cinema 4D Version: 8.100
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
How do you read a radio button group?
I can set the button to start by setBool on the actual button. But I found only the group, not the individual buttons, call command. Yet anyway I try to read the group I get garbage. I tried getLong and just get very large numbers.
How can I tell when a button is pressed, or just the final state when the user hits OK? (I've been trying both.)
On 12/06/2003 at 02:02, xxxxxxxx wrote:
GetLong(ID_OF_RADIOGROUP,Variable to take the value); works fine for me. Maybe your resource structure for the radio group is not correct?
Can you show the radio group area of your resource file (the file for the dialog)?
On 12/06/2003 at 20:06, xxxxxxxx wrote:
I was using the msg.getLong like the custom gui.
All better now! Can actually read my widgets.
Thanks for the help!