Quote: "I changed the DBP window into a gadget. I don't think it's possible to recreate the DBP window, if it is then please tell me how"
found a solution but I'd like to change the DBP window itself:
#include "C:\Documents and Settings\Gebruiker 2\Bureaublad\Gui2\gui.dba"
set window layout 0,0,0
DBP=createGadgetFromWindow(mainWindow())
setGadgetText main,"test dbp window"
main = createWindow(100,100,640,480,"test window",WINDOW_NORMAL,0,1,0)
bla = createWindow(200,200,320,240,"test DBP window",WINDOW_FIXED,0,0,main)
setGadgetParent DBP,bla
positionGadget DBP,0,0
setGadgetAlign DBP,ALIGN_LEFT
doGadgetAlign DBP
sync on : sync rate 0
make object cube 1,5
do
set cursor 0,0
print screen fps()
sync
loop
the only problem is that when you activate the window the actuall DBP window is not active, and when you click the DBP window the 'bla' window is inactive. why that is a problem, well when you have multiple windows you would be confused by which window is actually selected.
Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb