M
Mark Ingram
Hi, ive got a custom control, which i like to keep at a fixed size (or a
fixed ratio). So, during the OnSizeChanged function, i specify values
for width and height. Which in *some* cases (i dont know why only some
cases) results in stack overflow because changing the height results in
OnSizeChanged being called again.
What is the correct way of altering the size of the control after a user
has changed the controls size?
Thanks
fixed ratio). So, during the OnSizeChanged function, i specify values
for width and height. Which in *some* cases (i dont know why only some
cases) results in stack overflow because changing the height results in
OnSizeChanged being called again.
What is the correct way of altering the size of the control after a user
has changed the controls size?
Thanks