OpenWindow(1,200,250,200,50,"PureBasic",#PB_Window_MinimizeGadget)CreateGadgetList(WindowID(1)) TextGadget(2,70,16,180,15," Hello world ") Repeat Event=WaitWindowEvent() Until Event=#PB_Event_CloseWindow End