我想让树根据回车换行符自行的用多行来显示树上的结点,
怎么做?
谢谢!

解决方案 »

  1.   

    换行的话不是遮住了后面的节点,好象还没见过那样的树,
    真的特别长的话加个tooltip比较合适
      

  2.   

    换行的话不是遮住了后面的节点,好象还没见过那样的树,
    我希望的就是后面的结点也自动的换行!
    加tooltip也是一种方法,不过是没有办法的时候才会考虑!
      

  3.   

    没有现成的办法,不知道treeview是不是有空间让你实现这样的功能,否则只怕要自己实现一个树控件了..
      

  4.   

    嗯?这个,实现起来不太容易,还是建议用tooltip吧,哈哈
      

  5.   

    可以用变高的节点,但要自己画每一项
    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
      

  6.   

    加个tooltip!就好象vc中的那样!