如何在CListCtrl中更改图片的背景颜色或颜色? [英] How to change background color or color of picture in CListCtrl?
本文介绍了如何在CListCtrl中更改图片的背景颜色或颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我遇到了麻烦(
我将图片设置为
Hi
I have a trouble(
I set image to first column in
CListCtrl
。
当我设置这个图像时,我可以看到空的空间就是这样。我有价值HICON可以改变
颜色背景以编程方式或彩色此图片中的图片&
谢谢
.
When I set this image I can see empty space and that's it. I have value HICON can I change
color of background programmatically or color a picture in this image&
Thank you
推荐答案
在这篇文章中很棒包括listctrls:整洁的东西要做在列表控件中使用自定义绘制 [ ^ ]
如果所有中断都可以实现自定义绘图,但为了简单起见,你最好只绘制一些位图。
in this article a great bunch for listctrls is covered:Neat Stuff to Do in List Controls Using Custom Draw[^]
if all breaks you can implement custom drawing, but for sake of simplicity you better only draw some bitmaps.
这篇关于如何在CListCtrl中更改图片的背景颜色或颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文