Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Getting Radio Button result

    SDK Help
    0
    3
    383
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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:

      User Information:
      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.)

      Thanks,
      David

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        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)?

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 12/06/2003 at 20:06, xxxxxxxx wrote:

          Thanks!

          I was using the msg.getLong like the custom gui.
          All better now! Can actually read my widgets.

          Thanks for the help!
          David

          1 Reply Last reply Reply Quote 0
          • First post
            Last post