解决方案 »

  1.   

    HDS_CHECKBOXES 
    Microsoft Windows Vista and Version 6.00. Allows the placing of checkboxes on header items. For more information, see the fmt member of HDITEM.HDF_CHECKBOX
    Microsoft Windows Vista and Version 6.00. The item displays a checkbox. The flag is only valid when the HDS_CHECKBOXES style is first set on the header control.
      

  2.   

    列表框样式设置为报告、checkbox,全选的复选框控件放在外面也可以实现的不然只能自绘控件DrawItem