如標題。

解决方案 »

  1.   

    1:
    把listview控件的small icon属性设置为一个空的imagelist控件。imagelist控件的高设置为你想要的高度,宽度设置为1
      

  2.   

    2.以下网址:
     h t t p : / / w w w . m v p s . o r g / v b n e t / i n d e x . h t m l ? c o d e / c o m c t l / l v l e d g e r . h t  h t t p : / / w w w . m v p s . o r g / v b n e t / i n d e x . h t m l ? c o d e / c o m c t l / l v l e d g e r r o w s . h t m
      

  3.   

    樓主﹕
    感謝你回答我的"如何改變listview的行高度和某一行的背景色?"的問題﹐
    我按h t t p : / / w w w . m v p s . o r g / v b n e t / i n d e x . h t m l ? c o d e / c o m c t l / l v l e d g e r . h t m
     h t t p : / / w w w . m v p s . o r g / v b n e t / i n d e x . h t m l ? c o d e / c o m c t l / l v l e d g e r r o w s . h t m
    所提供的代碼輸入之后﹐編譯時報錯﹕說沒有Checkboxes , FullRowSelect ,Picture,PictureAlignment 等屬性﹐不知如何解決﹖能幫幫我嗎﹖
      

  4.   

    2.
    用通用控件提供的OwnerDraw方法
    暂时找不到改变背景的,只找得到改变文本的:http://www.easthot.net/dl_info.asp?id=6
    其实方法一样,你稍微修改一下就行