Finding out if a B3D app is minimised

Blitz3D Forums/Blitz3D Programming/Finding out if a B3D app is minimised

I need to find out if a B3D app is minimised, what is the easiest way to do this?