Re: ForegroundLockTimeout not consistent

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Heinz Biermann (hbierman_at_gistech.com)
Date: 07/08/04


Date: Thu, 08 Jul 2004 08:00:17 -0700

Dave Patrick wrote:
> Logon for what?
>
It's a logon for a document management system. My program references
some third-party dlls, and first thing you have to do is log on. One of
the logon options is to bring up a dialog box for the user to
interactively fill in the info.

On some machines, this box pops up in front, on some it stays hidden
behind other open windows. To test this, I started my program from a
shortcut, then quickly gave focus to another open window (Windows
Explorer, in this case) that covered a large part of the screen. With
the default setting of 200000 for ForegroundLockTimeout, the logon
always stays behind the focus window. I was able to consistently bring
the window to the front by setting ForegroundLockTimeout to zero. So far
it behaves like advertised.

But things get weird when I hit a breakpoint during debugging in VS.NET.
As I said earlier, afterwards the window stays hidden behind other
windows even though ForegroundLockTimeout is still zero.



Relevant Pages

  • Re: SMS 2003 Reporting: http error 500
    ... so IIS seems to run. ... > in the dos window type the following command ... >>Now, the Windows Logon Screen doesn't appear anymore, I'm ...
    (microsoft.public.sms.admin)
  • Re: message at users logon
    ... Don't forget to also configure "Message title for users attempting to logon" ... after the ctrl+alt+del is pressed to notify ANY person ... notify that this message window belongs to computer ... settings> local policies> security options ...
    (microsoft.public.windows.server.active_directory)
  • Re: Startup items and desktop not appearing
    ... The desktop wallpaper appears, but with no icons on it, and the ... I have tried removing all the items in my logon items list in the ... accounts window, ... Between DiskWarrior and Applejack most hard drive problems other than hardware vanish. ...
    (comp.sys.mac.system)
  • RE: Logon Screen Object Does Not Appear On Servers Local Monitor
    ... the keyboard and the mouse to server2, are you able to see the logon ... >> Background Screen with the Logon Window and this is the normal behavior. ... >> When I switch to server-2 I only get the Gray Background Screen with NO ... >> I can access the server-2 via remote logon, I get the Logon Window and I ...
    (microsoft.public.windows.server.general)
  • Re: Internet Explorer
    ... > left-click my mouse to bring the window back to active. ... TweakUI, as there are many other benefits. ... Open RegEdit and go to ... look for the subkey named "ForegroundLockTimeout" ...
    (microsoft.public.windowsxp.newusers)