Is it normal that a canvas in a window moves along when resizing the hostwindow ? Probably I could go the hard way by checking for resized windows and then use gadgetx/y for the canvas to put it in the corner again.. but I find it somewhat strange ..
----------------------------------
APP=CreateWindow("APP",0,0,ClientWidth(Desktop()),ClientHeight(Desktop())):MaximizeWindow APP
bla=CreateWindow("bla",0,128,800,512,APP,11)
c=CreateCanvas(0,0,ClientWidth(APP),ClientHeight(APP),bla)
WaitKey()
FreeGadget c
FreeGadget bla
FreeGadget APP
End
----------------------------------
APP=CreateWindow("APP",0,0,ClientWidth(Desktop()),ClientHeight(Desktop())):MaximizeWindow APP
bla=CreateWindow("bla",0,128,800,512,APP,11)
c=CreateCanvas(0,0,ClientWidth(APP),ClientHeight(APP),bla)
WaitKey()
FreeGadget c
FreeGadget bla
FreeGadget APP
End