| 作者: eapass 发布日期:
2007-1-25 |
猜测:
用WrapText() 或 API function DrawText |
| 作者: xiao2000 发布日期:
2007-1-27 |
|
看看delphi中的源程序,我认为是相关的caption的定义是ComCtrls.pas中下列一段:
......
......
{ TListItems }
type
PItemHeader = ^TItemHeader;
TItemHeader = packed record
Size, Count: Integer;
Items: record end;
end;
PItemInfo = ^TItemInfo;
TItemInfo = packed record
ImageIndex: Integer;
StateIndex: Integer;
OverlayIndex: Integer;
SubItemCount: Integer;
Data: Pointer;
Caption: string[255];
end;
.....
.....
Caption: string[255];
这一行是不是问题所在,试试把255改成更大的数字,是不是能解决问题?
我没试过,提供一个思路,仅供参考。 |
| 作者: coolman 发布日期:
2007-1-28 |
|
多谢。 可能是windows的限制。 tlistview是windows控件,delphi只是做了一个接口。 |