Resizing Form

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?
 
X

xcal

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.
 

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