连续添加多个图像 [英] Adding multiple image in an row

查看:80
本文介绍了连续添加多个图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

如何使用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 style LVS_EX_SUBITEMIMAGES for the CListCtrl

Then you can use the images supplied with SetImageList for the subitems


这篇关于连续添加多个图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆