title: How can I get functionality similar to Spy++ in my C# app?
body: <p>I'm interested in working on a plugin for <a href="http://keepass.info/" rel="noreferrer">Keepass</a>, the open-source password manager.  Right now, <a href="http://keepass.info/" rel="noreferrer">Keepass</a> currently detects what password to copy/paste for you based off of  the window title.  This prevents Keepass from detecting the current password you need for apps that don't actively update their window title based on the current site (Chrome for instance).</p>
  
  <p>How can I walk through another processes window elements (buttons, labels, textbox) similar to how Spy++ works?  When you run Spy++ you can hover over other programs windows and get all kinds of information about various properties concerning various controls (labels, textboxes, etc).  Ideally, I'd like my Keepass plugin to enhance the current window detection by walking through the active window's elements in an effort to find a matching account to copy/paste the password.</p>
  
  <p>How can I walk other processes window elements and be able to retrieve label and textbox values using C#?</p>