为什么 TreeNode 上的 StateImageIndex 最大值限制为 14?
这里有人可以向我解释一下为什么 < TreeNode
上的 code>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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看
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 似乎可用。
See
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
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.