title: How to insertItem to 2nd colum in CListCtrl
body: <p>I am new to MFC &amp; BGCControlBar.<br>
  Now I plan to use CBCGPListCtrl which is defined as:</p>
  
  <pre><code>class BCGCBPRODLLEXPORT CBCGPListCtrl : public CListCtrl
  </code></pre>
  
  <p>&amp;    </p>
  
  <pre><code>CBCGPListCtrl m_wndWatch;
  </code></pre>
  
  <p>Now in the demo code I plan to change:</p>
  
  <pre><code>int CWatchBar::OnCreate(LPCREATESTRUCT lpCreateStruct) 
  {
      if (CBCGPDockingControlBar::OnCreate(lpCreateStruct) == -1)
          return -1;
  
      m_Font.CreateStockObject (DEFAULT_GUI_FONT);
  
      CRect rectDummy;
      rectDummy.SetRectEmpty ();
  
      // Create output pane:
          const DWORD dwStyle = WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_VSCROLL | LVS_REPORT |  LVS_EDITLABELS ;
  
      m_wndWatch.Create (dwStyle, rectDummy, this, ID_LIST_1);
      m_wndWatch.SendMessage (LVM_SETEXTENDEDLISTVIEWSTYLE, 0,
                          LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES);
      m_wndWatch.InsertColumn (0, _T("Variable"), LVCFMT_LEFT, 100);
      m_wndWatch.InsertColumn (1, _T("Value"), LVCFMT_LEFT, 100);
  
      m_wndWatch.InsertItem (0, _T("m_nCount"));
      m_wndWatch.SetItemText (0, 1, _T("100"));
  
      m_wndWatch.SetFont (&amp;m_Font);
  
      return 0;
  }
  </code></pre>
  
  <p>What I get is a list(as in pic), I can only edit the 1st colum and the data can not be retained. <strong>How can I edit the second column text and make the data retainable?</strong> </p>
  
  <p><img src="https://i.stack.imgur.com/sXJgU.png" alt="enter image description here"></p>