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

    Position Of A Dialog

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 264 Views
    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 Offline
      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 Offline
        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 Offline
          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