16,472
社区成员
发帖
与我相关
我的任务
分享
CImageList* imageList = m_SysImageList.GetImageList(FALSE); // 得到大图标链表
SetImageList(imageList, LVSIL_NORMAL); // 设置图标链表
imageList->Create(GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), ILC_COLOR24, 50, 50);//CImageList对象建立后,还要调用Create才能工作!
/*TCHAR shortName[MAX_PATH];
::SHGetFileInfo(strOpenFileName,0,&shfileinfo,sizeof(shfileinfo),SHGFI_ICON)