If OpenWindow(0,0,0,500,250,"Window",#PB_Window_SystemMenu|#PB_Window_ScreenCentered|#PB_Window_Invisible) SetWindowLongPtr_(WindowID(0),-20,GetWindowLongPtr_(WindowID(0),-20)|#WS_EX_TOOLWINDOW) HideWindow(0, 0) Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow EndIf