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

    Property Value

    A FormWindowState Property.
    Example
    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
        Else
            ThisFrame.WindowState = FormWindowState_Normal
        End If
    End Sub
    See Also