摘要:
1.CCustomDraw和LVS_OWNERDRAWFIXED我发现我去掉了LVS_OWNERDRAWFIXED风格,继承了CCustomDraw的CListView自绘就OK了。2.CCustomDraw<T>CCustomDraw<T>利用静多态,给派生类一个可以定制自绘Options的策略。//customdrawreturnflags//valuesunder0x00010000arereservedforglobalcustomdrawvalues.//abovethatareforspecificcontrols#defineCDRF_DODEFAULT0 阅读全文