创建一个未被屏蔽的image_list会产生什么影响吗? [英] Is there a negetive effect to creating an image_list that is not masked?
问题描述
创建一个没有屏蔽的image_list会产生什么影响吗?我以前从未创建过Image列表。我只是阅读了microsoft的文档。
我打算做的就是获取位图从互联网上用作我的工具栏的buttom图像。我打算在创建图像列表时使用这个位图,但由于我打算简单地将位图添加到图像列表中,如果没有制作图像列表,我就是在创建一个蒙版一个会在一天结束时减少我的工具栏按钮图像的美感。
Is there a negetive effect to creating an image_list that is not masked?I have never created an Image list before.I just read microsoft's documetation on it.
All I intend to do is get bitmaps from the internet for use as buttom images for my toolbar.I plan to use this bitmap in creating an image list but since I intend to simply add the bitmaps to an image list, I was windering if not making the image list I create a masked one will reduce the beauty of my toolbar button images at the end of the day.
推荐答案
你需要一个蒙版图像列表作为按钮的背景。所以控件知道在哪里绘制背景控件而不是图像。
you need a masked image list for the background of the buttons. So the controls know where to draw the background control and NOT the images.
这篇关于创建一个未被屏蔽的image_list会产生什么影响吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!