ListCtrl的header如何在不改变字高的情况下,改变其高度?

解决方案 »

  1.   

    CListCtrl::SetIconSpacing
    CSize SetIconSpacing( int cx, int cy );CSize SetIconSpacing( CSize size );Return ValueA CSize object containing the previous values for icon spacing.ParameterscxThe distance (in pixels) between icons on the x-axis.cyThe distance (in pixels) between icons on the y-axis.sizeA CSize object specifying the distance (in pixels) between icons on the x- and y-axes.ResThis member function implements the behavior of the Win32 macro,ListView_SetIconSpacing, as described in the Platform SDK.Example// The pointer to my list view control.
    extern CListCtrl* pmyListCtrl;// Leave lots of space between icons.
    pmyListCtrl->SetIconSpacing(CSize(100, 100));
    MSDN上的
    你看看
    如果你不想要图表的话
    可以放一张白色图片在那
      

  2.   

    我想我是没有说明白,是指ListCtrl在报表风格下,上部标题栏的高度。我打算在不改变字高的情况下,改变其高度,不知可否?
      

  3.   

    http://www.thecodeproject.com/listctrl/headerctrlex.asp
      

  4.   

    这是我在CSDN第二次真正解决问题,非常感谢!结贴,有空的话也帮我看看这个贴:
    http://expert.csdn.net/Expert/topic/2591/2591795.xml?temp=.4089929谢谢!