Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    AddButton "Pressed" in GeDialog

    Cinema 4D SDK
    3
    5
    733
    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.
    • RenatoTR
      RenatoT
      last edited by RenatoT

      Hi all,

      there is a way to show a Button "Pressed" in GeDialog? Like when I click it with mouse? These buttons are added with GeDialog::AddButton().

      Thanks in advance
      Renato T.

      1 Reply Last reply Reply Quote 0
      • ferdinandF
        ferdinand
        last edited by ferdinand

        Hi,

        I assume you are asking for a toggle button? The standard button cannot do that to my knowledge, but the BitmapButton can. The flag is called BITMAPBUTTON_TOGGLE, see here.

        Cheers,
        zipit

        MAXON SDK Specialist
        developers.maxon.net

        1 Reply Last reply Reply Quote 1
        • RenatoTR
          RenatoT
          last edited by

          Hi Zipit,

          ok, thanks for that. I'll use the BitmapButton in this case. I hoped that there was a way to change the status of button in someway.

          Thanks again
          Renato

          1 Reply Last reply Reply Quote 0
          • r_giganteR
            r_gigante
            last edited by

            Hi @RenatoT , thanks for reaching out us.

            As @zipit suggested BitmapButton is the way to go and for the future I warmly recommend to use the tagging system for a better context.

            Cheers, R

            1 Reply Last reply Reply Quote 0
            • RenatoTR
              RenatoT
              last edited by

              HI R.

              I already used the BitmapButtonCustomGui for my dialog. Just i got some Gui corruption problems so I tried to switch to standard button... but the corruption of gui was not caused by it.

              Thanks for your answer.
              Renato T.

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