how can i keep the proportions -> width:height of a window on a window resizing-event?
That’s it: I moved it in a pushbutton and it works fine.
Now, the questio is: why do you apply a code resize in the user’s back ?
In other words, what your interface is that needs that kind of resize ?
There may be a different way to achieve that goal, maybe.
I may not be clear enough:
doing a code resize while the window is resizing resized generate the stack overflow exception. So, uness using a timer / a thread / something to delegate the moment to execute the code, you will always get a stack overflow exception.