Setting a minimum width in a form with a sizable handle

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a WindowsForm that has a handle that allows resizing. However, I don't
want the size less than a particular value. If I check for the width in the
Resize event and make changes if the value is too small, I don't like the
visual effect of the redrawing. If I use the ResizeEnd event, the visual
effect is better because there is only one redraw after the logic is executed.

Is there a way to place a minimum width of a resizable window without having
to force a redraw based on the logic I described?
 
michael said:
Is there a way to place a minimum width of a resizable window without
having
to force a redraw based on the logic I described?

Check out the form's 'MinimumSize' property.
 
Back
Top