title: When deleting item in Combobox the secong one pop-up MFC
body: <p>I have combo box and delete button. I want to make next combo box item pop-up when delete button pressed and when last item deleted clean combo box selected item.</p>
  
  <p>I tried several methods with indexes but even one wont help me.</p>
  
  <p>there is my code:</p>
  
  <pre><code>if(IDYES == MessageBox(L"Delete save?",L"Delete", MB_YESNO|MB_ICONQUESTION)){
              CString pFileName = L"Save\\"+str+".dat";
              CFile::Remove(pFileName);
              CComboBox* pComboBox = (CComboBox*)GetDlgItem(IDC_COMBO_SAVE);
              pComboBox-&gt;ResetContent();
          }
  </code></pre>
  
  <p>How I can to make next combo box item pop-up when delete button pressed and when last item deleted clean combo box selected item?</p>