experimental new GUI setup

Corinna Vinschen vinschen@cygnus.com
Thu Jul 6 13:23:00 GMT 2000

DJ Delorie wrote:
> > I used ftp.freesoftware.com as the mirror to download from and it gave
> > me an error because there was 750 people logged in and the maximum was
> > hit.  Unfortunately, the error showed up *behind* the "Cygwin
> > Setup/Downloading/setup.ini/Connecting..." screen.
> Hmmm, it showed up in front on mine.  I suppose I can force it with a
> suitable flag.

Chris is using W2K. Maybe that matters here. W2K has a
system variable which disallows for a configurable time
a switch to another apps window. Regardless if that app
tries to get a foreground window, it can't. You will
never see that behaviour on NT.

This is example code which disables that behaviour on W2K:

    OSVERSIONINFO os_version_info;
    os_version_info.dwOSVersionInfoSize = sizeof (OSVERSIONINFO);

    GetVersionEx (&os_version_info);

    if (os_version_info.dwPlatformId == VER_PLATFORM_WIN32_NT &&
        os_version_info.dwMajorVersion >= 5) {
        SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, 0, 0);

Hope, that helps,

Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

More information about the Cygwin-developers mailing list