Hi everyone

Can anyone explain to me why the programgroup isn't minimized in this scriptsequence?

Code:
 
$ReturnCode=ADDPROGRAMGROUP("Testgroup", 0)
If $ReturnCode = 0
? "---> Testgroups-grupp:"
$ReturnCode=SHOWPROGRAMGROUP("Testgroup", 2, 0)
if $ReturnCode = 0
$ReturnCode=ADDPROGRAMITEM('"C:\Windows\system32\notepad.exe"', "Notepad", "", 0, "", 0, 0)
Endif
$ReturnCode=SHOWPROGRAMGROUP("Testgroup", 6, 0)
? "ReturnCode = " + $ReturnCode
Endif



On my computers (I have tried several) I always get a Returncode = 0, but the programgroup isn't minimized!

I'll be greatful for any help!

Regards
Alf