tonelm54
asked on
List windows to get one below my app
Im trying to create a program to put in snippets of code from the system tray, What Im trying to do is list the windows open to find the one below my application, then on click bring the application into focus, then using sendkeys send the snippet.
I have no idea how to get the window below mine, does anyone else?
Thank you
I have no idea how to get the window below mine, does anyone else?
Thank you
What does "below mine" mean? Are you talking about the z-order of the windows? You might be able to enumerate the top-level windows, and check whether the bounds of the window is within the bounds of your window, but the z-order would make it trickier.
ASKER
Basically is is possible to pull a list of all windows and their Z-Order?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.