$H Windows.ph
Struct RECT = left&,top&,right&,bottom&
CLS
Var Text$ = "Das est un long Text, qui umgebrochen volonté soll"
Couleur du texte $ff,-1
DrawText 10,10,Text$
Var Rect# = New(RECT)
~SetRect(Rect#,10,40,200,100)
~DrawText(%hdc2,Addr(Text$),Len(Text$),Rect#,~DT_WORDBREAK)
Repaint
waitinput
end