|
Title: | Windows GUI opens new dialogs in background on Windows 2000 and XP |
Document: | 1030696073 |
Author: | Roland Genske <rhg@marxmeier.com> |
Keywords: | windows,gui,dlg,dlgsrv,dialog,xp,2000,me,98,background,foreground,focus |
This happens on Windows 98, ME, 2000 and XP and is caused by a Windows behavior change. Recent Windows versions do not allow a program to bring itself into foreground anymore.
Background information is available on the
Microsoft web site.
A possible workaround is to restore the previous behavior known from Windows 95 and NT4 by setting the following registry key:
[HKEY_CURRENT_USER\Control Panel\Desktop]
"ForegroundLockTimeout"=dword:00000000
This is a user specific setting which influences the described behavior system wide. Note that it is not possible to set this behavior for a particular program only.
A convenient way to set this registry key is to use a .reg file. We prepared one for download at ftp://ftp.marxmeier.com/eloq/misc/foregroundlocktimeout.reg.
Please note: After changing this registry key Windows must be restarted. On Windows 2000 and XP it is necessary to set this key for each user involved.
|
|