如果你是将这个控件在对话框中使用的话,很好办,打开VC的资源编辑器,右键反击这个控件,在
第二个标签栏中STYLE属性将EDITLABELS属性勾上或取消就行了

解决方案 »

  1.   

    RE: kingzai() 我要的不是你说和好种,我要的是在程序中用代码添加删除。就是说,我有些情况要使CListCtrl不要LVS_EDITLABELS属性,而有些情况又要这种属性。
      

  2.   

    用这个吧
    extern CListCtrl* pmyListCtrl;// Make sure the focus is set to the list view control.
    pmyListCtrl->SetFocus();// Show the edit control on the label of the first
    // item in the list view control.
    CEdit* pmyEdit = pmyListCtrl->EditLabel(1);
    ASSERT(pmyEdit != NULL);
      

  3.   

    应该可以解决,帮助上就是这样说的,看msdn
      

  4.   

    RE: kingzai()今晚要走了,明天试一下。谢谢你。
      

  5.   

    CListCtrl既然是派生自CWnd,为什么不能用ModifyStyle()和 ModifyStyleEx()呢?
      

  6.   

    CListCtrl既然是派生自CWnd,为什么不能用ModifyStyle()和 ModifyStyleEx()呢?
      

  7.   

    问题已解决,用的是GetWindowLong和SetWindowLong