Aha, found out that even without setgraphics and any drawing commands and the centreing code, the window get's shown ANYWAY!
why is that!
Strict Local mygraphics:TGraphics = CreateGraphics(640 , 480,0,0,GRAPHICS_BACKBUFFER) 'ccCentreWindow() 'SetGraphics mygraphics EnablePolledInput() 'Graphics(640 , 480,0,0,GRAPHICS_BACKBUFFER) 'ccCentreWindow() Repeat ' Cls ' DrawText "Hello World!" , 0 , 0 ' Flip Until KeyHit(KEY_ESCAPE)
why is that!