Attachmate.Reflection.Objects Library (User Interface) > Frame Object : WindowState Property |
Object.WindowState As FormWindowState
Sub Sample_Frame_WindowState() Dim ret As Integer ret = MsgBox("Maximize the InfoConnect Desktop window?", vbYesNo) If ret = vbYes Then ThisFrame.WindowState = FormWindowState_Maximized Else ThisFrame.WindowState = FormWindowState_Normal End If End Sub