title: Using pywinauto, how do I get Text of static text object, given the handle of the parent dialog
body: <p><strong>1. My code:</strong>  </p>
  
  <pre><code>print ('##########')  
  app = pywinauto.application.Application()  
  window_handle = pywinauto.findwindows.find_windows(title = u'My Dialog Name')  
  my_handle = window_handle[0]  
  window = app.window_(handle = my_handle)  
  for x in window.Children():  
      print ('Child %s' % x)  
  print ('##########')  
  </code></pre>
  
  <p><strong>Output:</strong><br>
      ##########<br>
      Child: &lt; pywinauto.controls.HwndWrapper.HwndWrapper object at 0x02C12890><br>
      Child: &lt; pywinauto.controls.win32_controls.ButtonWrapper object at 0x02C12870><br>
      Child: &lt; pywinauto.controls.HwndWrapper.HwndWrapper object at 0x02C128B0><br>
      Child: &lt; pywinauto.controls.win32_controls.StaticWrapper object at 0x02C128F0><br>
      ##########  </p>
  
  <p>I want the text of Child: pywinauto.controls.win32_controls.StaticWrapper object at 0x02C128F0>. To do so, I need the handle of that static text. I assume that I should be able to derive the handle to the static text from the parent dialog, but I have no idea how. I know that once I have the handle, I can just use window.Texts(). </p>
  
  <p>Apologies in advance for the formatting of my question, first timing it here. Thank you for any help.  </p>