Maxon Developers
    • Downloads
      • All Downloads
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
      • Cinema 4D Python Examples
      • Cinema 4D C++ Examples
      • Project Tool
      • SDK Database
    • Documentation
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
    • Forum
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Forums
      • Overview
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • News & Information
      • Downloads
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Register
    • Login

    Position Of A Dialog

    SDK Help
    0
    3
    81
    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 24/11/2006 at 19:55, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hi ...

      In a dialog plugin ...
      Can I know the current position of my dialog?
      How can I know it?
      Can I change the position then?

      Looking forward to hear from you ... and thanks in advance ...
      Zaw Min Tun

      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 26/11/2006 at 20:54, xxxxxxxx wrote:

        Not possible as far as I know. There is no such functionality. As you probably know, you can open the dialog either at a specific screen position (or with respect to the cursor using (-1,-1)). There are no functions to change or get the position thereafter.

        Now, when I was opening a dialog over the View window to show object names, I used a clever but dangerous trick where I'd open the dialog, do some calculations with respect to the View window to get a new position, and then close and reopen the dialog at that new position. It is not a recommended solution and was abandoned due to instabilities.

        Such is the control of Cinema 4D SDK GUIs.

        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 28/11/2006 at 18:37, xxxxxxxx wrote:

          Thank you ... Robert ...

          Best regards ...
          Zaw Min Tun

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