Minimizing full screen game

Blitz3D Forums/Blitz3D Beginners Area/Minimizing full screen game

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Check this
Graphics3D 640,480,32,1
SetBuffer BackBuffer()

App=GetActiveWindow()

Delay 2000
ShowWindow(App,0) ; hide teh window and activate another
; Launch other app here
; Send this windows hwnd parameter as cmdline par to the other app. then use winapi to Show the window again (ShowWindow(Hwnd,5))

While Not KeyHit(1)
	RenderWorld
	UpdateWorld
	Flip
Wend