title: How to get the class name inside a child window using pywinauto?
body: <p>I am trying to automate an app using pywinauto. Here is a problem when I need to locate a specific window.</p>
  <p>For example, I want to get the window 'AfxWnd4214', but I can only access to window &quot;AfxWnd42&quot;.</p>
  <pre><code>   | AfxWnd42 - ''    (L1044, T410, R1060, B426)
     | ['AfxWnd4214', 'V11.82AfxWnd4212']
     | child_window(class_name=&quot;AfxWnd42&quot;)
  
     | AfxWnd42 - ''    (L1044, T410, R1060, B426)
     | ['AfxWnd4212', 'V11.82AfxWnd4212']
     | child_window(class_name=&quot;AfxWnd42&quot;)
  </code></pre>
  <p>I access it by this code. But it is not specific enough. The sequence of this window may change in the tree.</p>
  <pre><code>pywinauto.app.window(class_name = &quot;AfxWnd42&quot;, found_index = 0) 
  </code></pre>
  <p>When I try this code:</p>
  <pre><code>pywinauto.app.window(class_name = &quot;AfxWnd4214&quot;, found_index = 0) 
  </code></pre>
  <p>It says</p>
  <pre><code>pywinauto.findwindows.ElementNotFoundError: {'class_name': 'AfxWnd4214', 'found_index': 0, 'backend': 'win32', 'process': 15404}
  </code></pre>
  <p>Is there any better method to access this window?</p>
  <p>Thank you.</p>