Example

In this example, Reflection will run minimized until data is received from the host, at which time the Reflection window will return to its normal size and become the active window:

Sub WaitMinimized ()

 With Session

  .WindowState = rcMinimized

  .WaitForIncomingData, rcAllowKeystrokes

  .WindowState = rcNormal

  .Activate

 End With

End Sub