用SetWindowLong函数修改ListView的Style和EXStyle,自已看一下MSDN中的帮助,有一个改变颜色数的选项,以前我用VC做过,现在在网吧,记不清楚了.

解决方案 »

  1.   

    LVM_SETIMAGELIST
    LVM_SETIMAGELIST 
        wParam = (WPARAM) (int) iImageList; 
        lParam = (LPARAM) (HIMAGELIST) himl; Assigns an image list to a list view control. You can send this message explicitly or by using the ListView_SetImageList macro. Returns the handle to the image list previously associated with the control if successful, or NULL otherwise. 
    iImageList 
    Type of image list. This parameter can be one of the following values: LVSIL_NORMAL  Image list with large icons. 
    LVSIL_SMALL  Image list with small icons. 
    LVSIL_STATE  Image list with state images. himl 
    Handle to the image list to assign.
      

  2.   

    TO: junwhj(junwhj.myrice.com)
        谢谢,能不能把您的代码发给我? 
        在VC中的ListView好象是 SysListView32 (win2000的资源管理器用的就是它),我用的是Vb6的公用控件6的ListView ,另外在Vb.net中的ListView能实现win2000的效果TO:zyl910(910:分儿,我来了!)
        谢谢,能不能说详细点
      

  3.   

    有谁知道?
      在Vb6中的ImageList控件如何可支持高彩、真彩色的图标。
    在ListView 中如何可以让选择的Item的图标是高彩、真彩色或只要能实现256色都行,反正就是不要默认的16色。