itemHeightSpecifies the height of an individual item in a list box or a menu. Before it returns from the message, the owner of the owner-draw combo box, list box, or menu item must fill out this member. The maximum height of a list box item is 255. 请看,高的最大值为255,显然是一个字节大小。如果超过255,那么超过255,就会溢出了。显然,400会溢出,那么溢出后剩下的数值就是400 - 256 = 144了。
请看,高的最大值为255,显然是一个字节大小。如果超过255,那么超过255,就会溢出了。显然,400会溢出,那么溢出后剩下的数值就是400 - 256 = 144了。