title: Is there any way to add an object other than CString to a CComboBox in MFC?
body: <p>I am trying to add an object that has a member variable <code>CString</code> to a <code>CCombobox</code>. I cannot just add the string because I am trying to interface with a tool that requires me to have another member variable other than just a string as a list item in the <code>CComboBox</code>. Below is what I am trying to do.</p>
  
  <pre><code>CComboBox::AddString(myOwnObject);
  </code></pre>
  
  <p>I only want the string of <code>myOwnObject</code> to display, but for the whole object to be in the listbox so that the other member variable can be reached by the other tool.</p>