I have added some ThumbBar buttons via ITaskbarList3
. Now when those are clicked I'd like to open the action / dialog next to the taskbar button. How can I find the screen coordinates of the taskbar button?
Thanks.
CodePudding user response:
Use UIAutomation. Find your way to the bottom of the tree and retrieve UIA_BoundingRectanglePropertyId
for each child element.
Powershells ShortcutGuide does this, you can look at their code if you need additional help...