title: How to get tooltip text for a given HWND?
body: <p>I'm looking for a way to get the tooltip control (if any) which is associated with a given HWND. The text of the tooltip control would be sufficient, too. The closest thing I found is the <a href="http://msdn.microsoft.com/en-us/library/bb760393%28VS.85%29.aspx" rel="nofollow noreferrer">TTM_GETTEXT</a> message, but it's meant to be sent to the tooltip control itself instead of the tool it's associated with. I don't have a handle to the tooltip control though. Does anybody know how to do this?</p>
  
  <p>All this is done using plain Windows API in C++.</p>