Unfortunately I haven't found the proper solution yet. I can get the minimized window though by this:

>IF ShowProgramGroup ("ProgramGroup",6,0) = 0
> ? "Minimized!"
>ENDIF

(The client is an Windows 4.0 NT - Terminal Server!!!)

//M