如下面链接图一样:
http://bbs.bkwww.com/dispbbs.asp?boardid=14&id=2638#

解决方案 »

  1.   

    要告诉你的是ListCtrl本身具有这个功能,扩展风格里
      

  2.   

    mahatma_cn(为了省买书钱,在打书店mm的主意!!!) 可以写出你的代码吗?
    我学VC很菜的!!
      

  3.   

    LVS_EX_CHECKBOXES 
    Version 4.70. Enables check boxes for items in a list view control. When set to this style, the control will create and set a state image list with two images using DrawFrameControl. State image 1 is the unchecked box, and state image 2 is the checked box. Setting the state image to zero removes the checkbox altogether. Check boxes are visible and functional with all list view modes. You can obtain the state of the check box for a given item with ListView_GetCheckState. To set the check state, use ListView_SetCheckState. 
    这是msdn中扩展属性的说明,你可以在create 或者 createex后用SetExtendedStyle();并指定LVS_EX_CHECKBOXES