Reflection Desktop VBA Guide
Attachmate.Reflection.Objects Library / Attachmate.Reflection.Objects.UserInterface Library / Frame Object / WindowState Property
In This Topic
    WindowState Property
    In This Topic
    Gets or sets the application window state. The window state can be Normal, Minimized, or Maximized.
    expression.WindowState As FormWindowState
    where expression is a variable that represents a Frame Object

    Property Value

    A FormWindowState Property.
    This sample maximizes the workspace window.
    Sub Sample_Frame_WindowState()
        Dim ret As Integer
        ret = MsgBox("Maximize the Reflection Desktop window?", vbYesNo)
        If ret = vbYes Then
            ThisFrame.WindowState = FormWindowState_Maximized
            ThisFrame.WindowState = FormWindowState_Normal
        End If
    End Sub
    See Also