Resizing Form

  • Thread starter Thread starter Jack Jackson
  • Start date Start date
J

Jack Jackson

I have just noticed an odd behavior with one of my forms. The form is
displayed via ShowDialog and is supposedly resizable (FormBorderStyle
= Sizable), but it is not resizable using the mouse on any of the four
sides - the mouse cursor never changes to the resizing cursors.
However it is resizable by the mouse from the lower right corner. It
is also resizable via the form's system menu Size item.

I can't see any significant difference between this form and the
others that can be resized from the sides.

Does anyone have any idea why the form would be resizable by the grip
area but not the sides?
 
hi Jack,

perhaps you should have to look the internal code,
see how events there are defined, and then try
to modify such events. I don't think it is only a matter
of to override methods like OnMove, OnPaint, etc
and things like that.

Also, you could try to build your own dialog
control. I have done this for OpenFileDialog.

hope this helps, Carlos.
 
Back
Top