You make sense...

However this is not what we want...

It results the same as putting the code in the resize or paint event of the form....

The problem is that is IS possible to go under or above 3255 (it just gets resized to 3255 again)...

There should be a way so that a form can be resized in width but can't be resized in height...

An example of a form like this is the MS find files or folders dialog (winkey+f)