CListCtrl 控件图标现在是能设置小图标和大图标 (LVSIL_SMALL  和LVSIL_NORMAL)
应用的时候 列表状态和详细信息状态都采用的小图标..  有什么什么方法能想资源管理器那样显示
大图标 小图标  还有详细信息/列表样式的图标  也就是设置3种图标  
大图标 = 大图标   48
小图标 = 中等图标 32
列表/详细信息 = 小图标  16
有谁知道吗!请给个建议!!

解决方案 »

  1.   

    用3个imagelist,分别设置成不同的状态的时候所用的,然后用SetImageList()函数和CListCtrl联合起来。
    关于imagelist的大小,Create的时候就可以指定大小,但是要使用同样大小的bitmap。
      

  2.   

    CListCtrl::SetImageList
    CImageList* SetImageList( CImageList* pImageList, int nImageList );Return ValueA pointer to the previous image list.ParameterspImageListPointer to the image list to assign.nImageListType of image list. It can be one of these values: LVSIL_NORMAL   Image list with large icons.
    LVSIL_SMALL   Image list with small icons.
    LVSIL_STATE   Image list with state images. 
      

  3.   

    LVSIL_STATE ??用了没效果...
    大图标   =   大图标       48  LVSIL_NORMAL 
    小图标   =   中等图标   32    LVSIL_SMALL    
    列表/详细信息   =   小图标    ?????????????
      

  4.   

    你的list要是相应状态的时候才可以显示出来的。而且你插入list的item的时候需要指定对应的imagelist 的index.