Minimizing a window

Blitz3D Forums/Blitz3D Beginners Area/Minimizing a window

I have been grappling with how to minimise the window that my 'main' blitz application is running in to allow the application that I execute from my blitz code to be viewed automatically. Endgraphics returns a message window stating illegal memory address. Is it possible to resize an established window via a button driven event/code instead of via the mouse ?

i.e. at the moment inorder to view my 'other' application's window I have to minimize my original applications window. Is there a command I can insert that is equivalent to clicking on the minimise button at the top of the window ? I have searched the archives for this (simple ?) solution, attempted to implement some of the code I found but Blitz3D didn't seem to recognise it.

I also read that upon starting a separate application that the new app would come to the fore, it displays at the 'back' of the current window.