How to set Custom GUI initial size



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 20/05/2005 at 05:37, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   8.207 
    Platform:   Windows  ;   
    Language(s) :

    ---------
    Hi everybody,
    I've created a CustomGui control that uses a GeUserArea object to display itself. I've overriden the GetMinSize() method of GeUserArea base class, and everytime the control is displayed at the size returned by GetMinSize() function. How can I set the initial size,  from let's say another plugin that uses my plugin?
    I'm looking forward for your answers. Tanks.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 01/06/2005 at 12:28, xxxxxxxx wrote:

    You could let users of the control specify properties with the CustomGuiData::GetProperties() system. These will then be available in the settings container of CustomGuiData::Alloc() and can be passed to your user area.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 11/07/2005 at 00:38, xxxxxxxx wrote:

    I forgot my username so I had to re-register with another one :).
    Please give me more detail about specifying the properties. I don't know how exactly should I specify the size property. Give me please an small example.


Log in to reply