From Xojo Documentation
The window is being restored to its prior state from either being minimized or maximized.
This event handler is called when the window is restored from a prior state.
This can occur when the user selects one of the window buttons or menu commands for the action. The event handler may also be called using one of the following methods, depending on the state of the window: