可以用变高的节点,但要自己画每一项 TVITEMEX Structure iIntegral Height of the item. This height is in increments of the standard item height (see TVM_SETITEMHEIGHT). By default, each item gets one increment of item height. Setting this member to 2 will give the item twice the standard height; setting this member to 3 will give the item three times the standard height; and so on. The tree-view control does not draw in this extra area. This extra space can be used by the application for drawing when using custom draw. Command what is yours Conquer what is not
真的特别长的话加个tooltip比较合适
我希望的就是后面的结点也自动的换行!
加tooltip也是一种方法,不过是没有办法的时候才会考虑!
TVITEMEX Structure
iIntegral
Height of the item. This height is in increments of the standard item height (see TVM_SETITEMHEIGHT). By default, each item gets one increment of item height. Setting this member to 2 will give the item twice the standard height; setting this member to 3 will give the item three times the standard height; and so on. The tree-view control does not draw in this extra area. This extra space can be used by the application for drawing when using custom draw.
Command what is yours
Conquer what is not