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

    trigger GeUserArea.GetMinSize() calls ?

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 276 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

      On 01/01/2013 at 18:29, xxxxxxxx wrote:

      hi,

      is it possible to provoke c4d to call GeUserArea.GetMinSize() while a dialog is opened ? my
      height value returned by the overwriten GeUserArea.GetMinSize() method changes while
      the dialog is running, but the method is only called upon dialog init by c4d. so i have to close
      and reopen the dialog to apply the changes. i am using the GetMinSize() method to drive a 
      surrounding ScrollGroup. the dialog is based on a res file.

      thanks for reading,

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

        On 02/01/2013 at 03:31, xxxxxxxx wrote:

        I think what you look for is GeUserArea::LayoutChanged()

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

          On 02/01/2013 at 03:37, xxxxxxxx wrote:

          Originally posted by xxxxxxxx

          I think what you look for is GeUserArea::LayoutChanged()

          ah perfect, it is siting on the bottom of the python sdk help, i have somehow overlooked it. thanks !

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