CListBox用 owner draw属性,重载 drawitem(),
CListBox附属于 Dialog dlg,
first , dlg.domodal. ok
second, dlg.domodal, not display , not drawitem() list box.how to deal with this? help me, thank
CListBox附属于 Dialog dlg,
first , dlg.domodal. ok
second, dlg.domodal, not display , not drawitem() list box.how to deal with this? help me, thank
反正只要对话框显示,CListBox需要重画时,都会调用DrawItem函数。因为CListBox的显示全靠它了。
在控件的 OnDraw 函数内绘制控件即可.