在VC++中如何向ListView控件的某一列中添加图标?

来源:百度知道 编辑:UC知道 时间:2024/09/24 16:29:25
在VC++中如何向ListView控件的某一列中添加图标?比如我用SHGetFileInfo函数获得得文件图标?

CListView::GetListCtrl

Call this member function to get a reference to the list control associated with the view.

CListCtrl& GetListCtrl( ) const;
---------------------------------------
获得了CListCtrl之后就能用普通操作ClistCtrl的方法添加图标了