sub GetWindowMaxSize( byref w, byref h)

Gets the maximum size of a window.