GeDialog Dimensions

  • On 11/06/2013 at 23:59, xxxxxxxx wrote:

    Is there a way to get the dimensions of a dialog window as it's being resized. I've tried various ways with no luck.

    I've tried using a GeUserArea and its various methods but nothing. Might be overlooking something.


  • On 12/06/2013 at 02:53, xxxxxxxx wrote:

    Hi, use a outer group and then use GetDim on that.

    Cheers, Seb

  • On 12/06/2013 at 03:02, xxxxxxxx wrote:

    Nice! I will give it a try.


  • On 14/06/2013 at 09:14, xxxxxxxx wrote:

    Why not use GeUserArea.Sized(self, w, h) or drawmsg is called after an re-size with the new dimensions.

    GeUserArea.DrawMsg(self, x1, y1, x2, y2, msg)[](file:///D:/pgrooff/Documents/pim/c4d/Python%20Help%20R14/help/modules/c4d.gui/GeUserArea/index.html?highlight=drawmsg#GeUserArea.DrawMsg)

    Called when C4D wants you to draw your userarea. Use the drawing functions to update your user area in the region speicified by the rectangle from (x1,y1) to (x2,y2).

    • x1  (int) – The upper left x coordinate.
    • y1  (int) – The upper left y coordinate.
    • x2  (int) – The lower right x coordinate.
    • y2  (int) – The lower right y coordinate.


Log in to reply