Hola Pedro:También me da problemas en BCB5 esa función. Aquí tienes una función del API que hace lo mismo:
code:
DrawText(Canvas->Handle,
"C:\\windows\\system\\fichero de prueba.txt",
-1,
&Rect(0, 0, 150, 50),
DT_PATH_ELLIPSIS);
// ---------------------------------
DrawText(Canvas->Handle,
"C:\\windows\\system\\fichero de prueba.txt",
-1,
&Rect(0, 50, 150, 100),
DT_END_ELLIPSIS);
DT_PATH_ELLIPSIS pone los '...' en medio, y
DT_END_ELLIPSIS pone los puntos por el final.
Si necesitas mas detalles avisame.
Saludos.
_Leo