Do I get a msg when I resize a dialog?

  • On 22/01/2016 at 11:01, xxxxxxxx wrote:

    Hey guys, 
    so here is my question:
    I have a dialog with a GeUserArea wich is deisplaying an image that is rendered with RenderDocument().
    But I don't want, that my image rerenders when I am changin the size of my Dialog window (wich is currently happening every time I resize my Dialog). So I wanted to ask if I get a msg when I resize my dialog to catch this msg.

    Hope everything is clear.


  • On 22/01/2016 at 14:57, xxxxxxxx wrote:

    Using this method in your GeDialog class will send a message if the users changes the size of the dialog.

        def Message(self, msg, result) :   
          if msg.GetId() == c4d.BFM_ADJUSTSIZE:   
              print("Changing Dialog Dimensions")  
          return gui.GeDialog.Message(self, msg, result) 


  • On 23/01/2016 at 08:07, xxxxxxxx wrote:

    Hi ScottA,

    thank you for your reply, it is working ^^


Log in to reply