restricting the minimum size of the form

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
 
G

Guest

Hi,
I just know that there is SizeChanged as an event in the Form class.

Helpful?
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top