|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by GMahler in Visual Basic Programming, Windows 2000 Operating System
Hi there,
I'm using the API function "EnumWindows" in a VB 6 application to find a particular message box window based on its title.
Unfortunately this does not work when the machine is locked - the EnumWindows function does not list certain windows. The window I am searching for is a (modal) popup (a class "#32770 (Dialog)") and I need to "click" a button by code to close it. This works when the machine is not locked, but due to remote administration software NetOp the lock kicks in automatically each time the user disconnects the remote session. The application runs in a Windows 2000 environment.
Is there any other way to locate such a window within a locked screen? The API seems to work fine and finds every other window (I logged it to a file), except this one.
I'm aware that the same question was posted 5 years ago, but the hints in the solution, that were enough for the poster of the question to solve his problem, don't do it for me.
Thanks in advance,
Georg
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625