Click here to Skip to main content
15,888,527 members

Comments by Member 10356713 (Top 3 by date)

Member 10356713 25-Oct-13 8:06am View    
Thank you all the same...
Member 10356713 25-Oct-13 6:43am View    
Thank you very much. I have read the example carefully,I have changeed the CDRF_DODEFAULT to CDRF_NEWFONT,but the problem doesn't be solved, ...I also can't receive the CDDS_ITEMPREPAINT through I return CDRF_NOTIFYITEMDRAW upon CDDS_PREPAINT, maybe there will be other errors in my code....
Member 10356713 24-Oct-13 20:13pm View    
Thank you.My List Control have already been report mode,the MSDN say that " If the control is in report mode and you want to handle the subitems individually, return CDRF_NOTIFYSUBITEMDRAW. ". I have return CDRF_NOTIFYITEMDRAW in the previous step, now I find that I can't receive the next NM_CUSTOMDRAW notification,so I can't change the color,I don't konw why? Does it involve with the extern style of the List Control? I have seted the List Control ExStyle
dwExStyle|=LVS_EX_FULLROWSELECT;
dwExStyle|=LVS_EX_GRIDLINES;
dwExStyle &=~LVS_EX_CHECKBOXES;