| || |
Windows not getting activated at run-time
I have been facing a problem since few days. Application windows, as well as Main window, don't get activated with SetActive() function. It was working fine earlier, and I don't know what happened suddenly. When the control comes to Setactive(), the window button starts blinking in taskbar, but doesn't get activated.
I didn't make any chnages anywhere(run-time settings, agent options etc).
I tried Agent.SetOption (OPT_VERIFY_ACTIVE, FALSE) also, but not working.
Any kind of help is highly appreciated.
Re: Windows not getting activated at run-time
I found the solution for that while searching for 'SetActive' topic in previous posts.
"run regedit.exe from Window's Start/Run. Find and change the following value:
My Computer\HKEY_CURRENT_USER\Control Panel\Desktop\"ForegroundLockTimeout"
to 0 (zero). Then reboot."
Thanks to John J. Miller