对于这个有些不解,于是找到个
http://www.china-askpro.com/msg5/qa79.shtml
补充一下,原来对于0x2000是很不解的,后来仔细看了msdn才明白,
关于state,在msdn的LVITEM中有详细说明,其中与check有关的部分如下,
Bits 8 through 11 of this member specify the one-based overlay image index. Both the full-sized icon image list and the small icon image list can have overlay images. The overlay image is superimposed over the item's icon image. If these bits are zero, the item has no overlay image. To isolate these bits, use the LVIS_OVERLAYMASK mask. To set the overlay image index in this member, you should use the INDEXTOOVERLAYMASK macro. The image list's overlay images are set with the ImageList_SetOverlayImage function
图像1是unchecked,对应的state就是 0x1000
图像2是checked,对应的state就是 0x2000