If OpenWindow(0,0,0,500,250,"Window",#PB_Window_SystemMenu|#PB_Window_ScreenCentered) EditorGadget(1,10,10,480,230,0) SendMessage_(GadgetID(1),#EM_SHOWSCROLLBAR,#SB_HORZ,#False) Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow EndIf