为什么 TreeNode 上的 StateImageIndex 限制为最大值 14? [英] Why is StateImageIndex on TreeNode limted to a max value of 14?
本文介绍了为什么 TreeNode 上的 StateImageIndex 限制为最大值 14?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这里有人可以向我解释为什么 StateImageIndex
限制为最大值 14?对我来说根本没有任何意义.
Can someone here please explain to me why the StateImageIndex
on TreeNode
is limited to a maximum value of 14? It doesn't make any sense to me at all.
推荐答案
查看http://msdn.microsoft.com/en-us/library/bb774760(VS.85).aspx
http://msdn.microsoft.com/en-us/library/bb775597(VS.85).aspx
http://msdn.microsoft.com/en-us/library/bb773409(VS.85).aspx
使用特殊掩码引用状态图像,它的大小似乎是 4 位,这使得 16 个可能的值和 0-14 个似乎可用.
The state images are referred to using a special mask, and it seems to be 4 bits in size, which makes 16 possible values and 0-14 seem to be usable.
这篇关于为什么 TreeNode 上的 StateImageIndex 限制为最大值 14?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文