Mr G, or anyone help, with DDgui function i can't seem to get any output where i am i going wrong, it all seem to work but when you press the X m=0 ?
DDgui_pushdialog(10,10,200,200)
DDgui_UpdateFont(TRUE)
DDgui_set("", "TEXT", "Load")
DDgui_button("exit", "X", 0,0)
WHILE TRUE
DDgui_show(FALSE)
m=DDgui_get ("exit",m)
PRINT "m="+m,400,400
SHOWSCREEN
WEND