带有CheckBox的CListCtrl中Check全部选中?
就是在第一列表头有CheckBox,点击则全部选中?

解决方案 »

  1.   

    LVS_EX_CHECKBOXES 
    You can obtain the state of the check box for a given item with ListView_GetCheckState. To set the check state, use ListView_SetCheckState. If this style is set, the list-view control automatically toggles the check state when the user clicks the check box or presses the space bar.SetCheckState参数里有行索引。循环下就行了
      

  2.   

    是列表头有CheckBox选项知道吗?
      

  3.   

    是列表头有CheckBox选项知道吗?