ListControl 设置表格行高与字体
设置行高:
CImageList m_l;
m_l.Create(1,18,TRUE|ILC_COLOR32,1,0);
listCtrl.SetImageList(&m_l,LVSIL_SMALL);
设置字体:
CFont m_font;
m_font.CreatePointFont(100, "新宋体");
m_listCtrl.SetFont(&m_font);
换行:
设置行高,和宽度,可以自动换行
ListControl 设置表格行高与字体
设置行高:
CImageList m_l;
m_l.Create(1,18,TRUE|ILC_COLOR32,1,0);
listCtrl.SetImageList(&m_l,LVSIL_SMALL);
设置字体:
CFont m_font;
m_font.CreatePointFont(100, "新宋体");
m_listCtrl.SetFont(&m_font);
换行:
设置行高,和宽度,可以自动换行