当前位置: 代码迷 >> 综合 >> CListCtrl 设置行高
  详细解决方案

CListCtrl 设置行高

热度:11   发布时间:2023-12-22 14:05:45.0

 

1 关联图片

  CImageList   m_l;  
  m_l.Create(1,24,TRUE|ILC_COLOR32,1,0);  
  m_list.SetImageList(&m_l,LVSIL_SMALL);

2 关联字体

    CFont m_font;

    m_font.CreatePointFont(120, "宋体");
    m_listCtrl.SetFont(&m_font);

3 自绘的方法

  http://www.vckbase.com/document/viewdoc/?id=1855

 

 

 

自:http://blog.csdn.net/sding/archive/2009/09/01/4506115.aspx