This small example shows how you can restric the sizing handles during resize to enforce minimum and maximum values.  It also predefines a size and position for the maximized window.

Enjoy simplicity.