连续添加多个图像 [英] Adding multiple image in an row
本文介绍了连续添加多个图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
如何使用CListCtrl MFC在同一行中添加两个不同或更多图像.
最好的问候
Sarfaraz
Hello every body
how can we add two different or more images in a same row using CListCtrl MFC.
Best Regards
Sarfaraz
推荐答案
您可以为CListCtrl
启用扩展样式LVS_EX_SUBITEMIMAGES
.
然后,您可以将SetImageList
随附的图像用于子项
You can enable the extended styleLVS_EX_SUBITEMIMAGES
for the CListCtrl
Then you can use the images supplied withSetImageList
for the subitems
这篇关于连续添加多个图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文