DEV Community

David
David

Posted on

Get Win32 legacy control's tooltip text programmatically

I would like to get the tooltip text for win32 legacy control (not WPF controls that inherently support UI Automation).

Screenshot of the buttons

What I have done:

  • Given a button of interest, I've got its AutomationElement, and its bounding rect
  • I moved the mouse over this button (in code);
  • Thread.Sleep(1500) to…

Top comments (0)