sub GetWindowMinSize( byref w, byref h)
Gets the minimum size of the window.