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

    Close button of docked dialog emits Command(id=92)

    Cinema 4D SDK
    3
    5
    826
    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.
    • a_blockA
      a_block
      last edited by a_block

      Hi,

      a GeDialog docked in C4D's layout receives a call to Command() with ID 92, when user clicks the little x in the window title. I tested this in R21 to S24.

      Other ways to close a dialog do not show this behavior (i.e. close button of floating dialog or "Close Manager" from the hamburger menu of a dialog).

      Not a big deal at all. I'm just wondering, what may be the reason or if it might be a small bug?

      Cheers,
      Andreas

      1 Reply Last reply Reply Quote 0
      • M
        m_adam
        last edited by m_adam

        Hi, Andreas hope you are fine 🙂

        I can indeed confirm the behavior, for me looks like a mistake, I sent an email to developers.
        92 internally for GUI_DIALOG_CLOSE which seems to be ok, but in the public framework, the value is 1002.

        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • a_blockA
          a_block
          last edited by

          Thanks for the info, Maxime.

          1 Reply Last reply Reply Quote 0
          • M
            m_adam
            last edited by

            Just get a reply and it seems because the button is created by Cinema 4D itself when docked and this button simply doesn't exist otherwise.

            MAXON SDK Specialist

            Development Blog, MAXON Registered Developer

            1 Reply Last reply Reply Quote 0
            • B
              bytefactory
              last edited by

              i removed the ids from the sdk. it looks like they are only used internally. there is no use in the sdk for developers.

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