Thanks, that's better than those older solutions!
BTW here's a version that works right out of the box, for the Api-phobics like me :)
BTW here's a version that works right out of the box, for the Api-phobics like me :)
; userlib entries in user32.decls : (must contain at least:) ; .lib "user32.dll" ; GetSystemMetrics% (nIndex%) : "GetSystemMetrics" ; ShowWindow(hwnd%,nCmdShow%) ; GetWindowLong%(hwnd%,gwl%):"GetWindowLongA" ; SetWindowLong%(hwnd%,gwl%,val%):"SetWindowLongA" Const GWL_STYLE=-16 DeskWidth = GetSystemMetrics%(0) DeskHeight = GetSystemMetrics%(1) Graphics DeskWidth, DeskHeight,32,2 SetBuffer BackBuffer() hwnd=SystemProperty$("AppHWND") iStyle=GetWindowLong(hwnd,GWL_STYLE) SetWindowLong(hwnd,GWL_STYLE,iStyle Or $10000) ShowWindow(hwnd,3) While KeyDown(1)=0 Delay 1 Wend