stickleprojects Level: Moderator

 Registered: 09-09-2002 Posts: 891
|
Re: How to disable resize form
Hi,
I am unsure why you wish to keep the border as resizable, but not allow resizing.. but...
To disable the actual sizing, the only real way is to subclass the form and intercept the resize message, the way listed here will allow the resize and then force the size back again.
Did you want the maximise button disabled too?
Anyway, check out http://www.vbaccelerator.com/codelib/ssubtmr/ctrlres.htm for complete control over form sizing and moving
Hope this helps,
Kieron
____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)
|