title: WinAPI C++ GUI: Is it possible to attribute an ID to each item of a ComboBox
body: <p>I'm relatively new to Windows API development and I'm writing a graphical C++ program using it.<br />
  I looked in the Microsoft documentation and I can't find if there is a way to assign a unique identifier to each element of a ComboBox.<br /></p>
  <h4>The issue</h4>
  <p>I currently fill the ComboBox with translated strings.
  I could get each translated text and use something like strcmp, but that means I have to clone my code for each possible element instead of using a simple comparison...</p>
  <h4>Remarks</h4>
  <ol>
  <li>I create the ComboBox using <code>CreateWindow</code>.</li>
  <li>I define each ComboBox element using <code>SendMessage</code> with <code>CB_ADDSTRING</code>.</li>
  <li>I retrieve the selected element using <code>GetWindowText</code> using the ComboBox handler.</li>
  </ol>
  <p>So the question is: <strong>Is it possible to assign and retrieve an ID to each element of a ComboBox.</strong><br />
  Another small question: Do you recommend me to use the windowsx.h macros instead of using the &quot;pure&quot; WinAPI functions?</p>