Does anyone know how to maximise an application that has been minimised to the taskbar.

The program is started using:

Shell("<program", bvnormalfocus)

so I have the PID so i can give the application focus, but it doesn't maximise.