Bring a Window to the Front and Verify It Remained There
$100-500 USD
Closed
Posted over 15 years ago
$100-500 USD
Paid on delivery
As part of an automated process, I need to take a screenshot of a given window. I already have code that will brings a window to the front (calling ShowWindow in [login to view URL]) and take the screenshot. The problem is that there are other applications running on the same machine at the same time.
I either need to prevent windows from other applications from coming in front of this window, or I need to detect this so I can take the screenshot again. This code needs to be reliable on both Windows XP and Vista.
There will be multiple copies of the driving process running on the same machine, so the detection (or keep on top) solution can't use assume that no other programs will be using the same technique.
I assume this project would require intimate knowledge of the Windows API or the use of a free utility. Using PrintWindow() doesn't work, probably because the window uses OpenGL.
The driving process is written in a scripting language, and can shell out to run an standalone program written in any language, call a DLL, or access an ActiveX control. Any of these implementations would be fine.