To change the sizing limits after the window has been opened, call WindowLimits() with the new values. BOOL WindowLimits( struct Window *window, long widthMin, long heightMin, unsigned long widthMax, unsigned long heightMax ); To maintain the current dimension, set the corresponding argument to 0. Out of range numbers are ignored. If the user is currently sizing the window, new limits take effect after the user releases the select button.