我用CListCtrl::SetImageList函数设置控件的图标的列表,控件的风格设置为Icon风格时,可以显示列表项图标,但设置为Report风格时却不能显示,请问在Report风格下怎么显示列表项的图标?
解决方案 »
- 创建 ATL 工程的时候,多了一个 同名字但是带有PS后缀的工程,那是干什么用的?
- 结构体定义总是出错
- 刚才还好好的,一下子出现很多的编译错误。难道是我不小心点了哪里?
- 拖动CListCtrl的列的分隔条为啥在不同的机器环境下有不同表现?
- tcp接收问题
- 错误error C3828: 'System::Data::SqlClient::SqlConnection'
- 20分求Visual C++实践与提高 - 网络编程篇
- 怎么在CLeftView中激活CRichEditView
- 急需93条型码的编码资料. 100分求助!(在线等待)
- HTML导成图片文件
- 给分:对话框中怎样调用CHTMLVIEW类
- 我该怎么办,救救我呀.(来着有分,,不能见死不救呀)
This method assigns an image list to a list view control.CImageList* SetImageList(
CImageList* pImageList,
int nImageListType );
Parameters
pImageList
Specifies the pointer to the image list to assign.
nImageListType
Specifies the type 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.
Return Value