MSDN2005 地址:
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.chs/dv_vclib/html/f4ea5d1c-11d1-4f7d-9da3-f99fb22e9381.htm
Uses a mask. The image list contains two bitmaps, one of which is a monochrome bitmap used as a mask. If this value is not included, the image list contains only one bitmap.
monochrome bitmap 单色位图指什么?黑白的?
mask 在这里要怎么理解?
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.chs/dv_vclib/html/f4ea5d1c-11d1-4f7d-9da3-f99fb22e9381.htm
Uses a mask. The image list contains two bitmaps, one of which is a monochrome bitmap used as a mask. If this value is not included, the image list contains only one bitmap.
monochrome bitmap 单色位图指什么?黑白的?
mask 在这里要怎么理解?
mask遮罩的意思,
你可以这样理解一下,遮罩是个二值图0,1,一般遮罩和源图等大,比如遮罩图1的部分保留,就是在源图对应遮罩1的位置的像素保留!0,1理解成开关也可以!
那能不能举个非二值图是什么图片?
上面那段E文的意思是说一个imagelist可包括两位图其中一个单色图片可作为遮罩。如果没有遮罩,则imagelist可仅包含一张图片。
使用遮罩可实现透明显示。