title: Unable to access buttons with legacy state as invisible using pywinauto
body: <p>[<img src="https://i.stack.imgur.com/isqGh.png" alt="screenshot" />]I am trying to click on a button named &quot;Next&quot;, using the code <code>dlg.child_window(title=&quot;Next&quot;,control_type=&quot;Text&quot;).click_input()</code> using pywinauto. I am getting Elementnotfound error, I tried to get the element control_type and tried to run dlg_dump_tree(), <code>dlg.dump_tree()</code> recognizes the element and mentions the element properties, but when I use the same in code the script doesnt detect. I am unsure if its due to its legacy state property displayed as invisible,offscreen,focusable while inspecting it as shown in the screenshot.
  Kindly help. I am avoiding the usage of <code>pywinauto.mouse.click</code> as it entirely depends on the screen resolution</p>