
Resize Form in One Direction Only
DP ...
You have to subclass the form and trap the WM_GETMINMAXINFO message. There
you are free to set the MINMAXINFO structure values to those you want.
Please see Subclassing Form Messages: Restricting Form Resizing at
http://www.mvps.org/vbnet/code/subclass/minmaxinfo.htm
--
Randy Birch
MVP Visual Basic
Take the vb.net poll at:
http://www.mvps.org/vbnet/
http://www.mvps.org/ccrp/
Please respond only to the newsgroups so all can benefit.
: Hi..
:
: I have been trying this problem out but cant seem to work out a way.
: Is there a possible way of restricting a user to Resize the form either
: Vertically or Horizontally at a time but not both at the same time?
:
: Regards,
: DP
:
: