Probier WinSetState mit diesen flag ...
Keine Ahnung ob das hilft
Hier der komplette Befehl ...
Function WinSetState
The "show" flag of the executed program: @SW_HIDE = Hide window @SW_SHOW = Shows a previously hidden window @SW_MINIMIZE = Minimize window @SW_MAXIMIZE = Maximize window @SW_RESTORE = Undoes a window minimization or maximization @SW_DISABLE = Disables the window @SW_ENABLE = Enables the window |