title: Read a child control with multiple childs with classes having the same name?
body: <p>I am currently trying to get the text of a control and while going down from the top window to the control I needed I got stuck in this control which has multiple chield with 2 controls having the same class name.</p>
  
  <p>Debug sample code as illustration:</p>
  
  <pre><code>IntPtr window = FindWindow("MainControl", "WindowTitle");
  iData.Text += window.ToString("X") + Environment.NewLine;
  
  IntPtr control = FindWindowEx(window, IntPtr.Zero, "CMainWindow", null);
  iData.Text += control.ToString("X") + Environment.NewLine;
  
  IntPtr control2 = FindWindowEx(control, IntPtr.Zero, "My_SplitterWindow", null);
  iData.Text += control2.ToString("X") + Environment.NewLine;
  
  IntPtr control3 = FindWindowEx(control2, IntPtr.Zero, "ATL:0061FA08", null);
  iData.Text += control3.ToString("X") + Environment.NewLine;
  
  IntPtr control4 = FindWindowEx(control3, IntPtr.Zero, "ATL:0061E168", null);
  iData.Text += control4.ToString("X") + Environment.NewLine;
  
  IntPtr control5 = FindWindowEx(control4, IntPtr.Zero, "ATL:00620118", null);
  iData.Text += control5.ToString("X") + Environment.NewLine;
  
  IntPtr control6 = FindWindowEx(control5, IntPtr.Zero, "ATL:00622208", null);
  iData.Text += control6.ToString("X") + Environment.NewLine;
  
  // stucked here... :/
  </code></pre>
  
  <p>Here is an image of the child control I am at right now:
  <img src="https://i.stack.imgur.com/UpBi1.jpg" alt="child control with multiple controls"></p>
  
  <p><strong>I need from <code>ATL:00622208</code> exactly the 2nd control <code>#32770 (Dialog)</code> but how do I read only the second one using FindWindowEx to move to the next control ?</strong></p>