trigger GeUserArea.GetMinSize() calls ?



  • 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,



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

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



  • 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 !


Log in to reply