none
怎样用Costom Draw改变一个CListCtrl的高亮选择文字颜色和背景色 RRS feed

答案

  • http://www.codeproject.com/KB/list/lvcustomdraw.aspx

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP
    2010年7月19日 3:46
    版主
  • itemprepaint的时候setitemstate,itempostpaint的时候改回来

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP
    2010年7月20日 13:25
    版主

全部回复

  • http://www.codeproject.com/KB/list/lvcustomdraw.aspx

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP
    2010年7月19日 3:46
    版主
  • From that article, it seems that I must redraw the item by myself if I want to change the highlight item aspect.
    2010年7月19日 4:50
  • 还有个办法是画之前把选择去掉,画之后还原

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP
    2010年7月19日 14:34
    版主
  • 具体怎样做?
    2010年7月20日 2:51
  • itemprepaint的时候setitemstate,itempostpaint的时候改回来

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP
    2010年7月20日 13:25
    版主