restricting the minimum size of the form

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

Guest

I want to restrict the minimum size of the form. I find that there are
properties MaximumSize and MinimumSize. This will help you control the
maximum and minimum size the form, when the form is resized.
but I find using this will make the controls on the form to flicker more.
one can even restrict using WM_SIZING message but the position of the
window is changing slowly while doing so.
does anyone know the logic how the window minimum size is restricted in the
form.

please help me ,
Thank you,
Harry
 
thank you, I was able to solve the problem.

One can use the WM_GETMINMAXINFO message and restrict the minimum and the
maximum size of the form
 
Back
Top