自绘CListCtrl所添加的DrawItem里写的不合理??

解决方案 »

  1.   

    没有在drawitem 里面自绘,是在OnNMCustomdraw 里面case CDDS_ITEMPREPAINT|CDDS_SUBITEM: 下绘的。
      

  2.   

    嗯,我想放在drawitem ,但是drawitem 不被调用,我设置了 LVS_OWNERDRAWFIXED属性也去掉了onpaint
      

  3.   

    LVS_OWNERDRAWFIXED   Enables the owner window to paint items in report view. The list view control sends a WM_DRAWITEM message to paint each item; it does not send separate messages for each subitem. The itemData member of theDRAWITEMSTRUCT structure contains the item data for the specified list view item.
      

  4.   

    高!咱捉摸了半天才理解啥意思~~~就是在两行之间会出现影子,拖动快了整个list内部感觉抖动。天冷还是开空调吧。