delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/29/19:31:50

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <5.0.0.25.0.20001130111126.00a59db0@bastion.datatask.com.au>
X-Sender: ev AT bastion DOT datatask DOT com DOT au (Unverified)
X-Mailer: QUALCOMM Windows Eudora Version 5.0
Date: Thu, 30 Nov 2000 11:30:44 +1100
To: cygwin AT sources DOT redhat DOT com
From: Evan McLean <ev AT deathsdoor DOT com>
Subject: Two solutions for setup.exe windows hiding
Mime-Version: 1.0

Hi,

I have two different solutions to the problem of windows in Setup.exe 
dropping behind other windows in the Z order that I had reported here 
recently (<http://sources.redhat.com/ml/cygwin/2000-11/msg00810.html>).

I can't really see much by the way of pros or cons for the two different 
solutions so thought I'd outline and see what peoples preferences are.

SOLUTION 1:

In main.cc, create an invisable parent window using the CreateWindow API 
call for the application.  Then all dialogs specify this as there parent 
window in DialogBox and CreateDialog calls.

SOLUTION 2:

In the message processing loop for each dialog, in the switch statement 
underneath the case for WM_INITDIALOG the following code is added:

	case WM_SHOWWINDOW:
	  SetForegroundWindow(h);
	  return FALSE;

Either way seems to do the trick with no other impact.  Pros and cons?

I can provide patches for either for review if anybody wants this.

Planned other setup enhancements:
- Cache mirrors.lst.  Only reloads if more than three days old or refresh 
button clicked.
- File download resume.  Know how to do it for all except the NetIO_IE5 
object, so any pointers for that gratefully accepted.  Also: Any problems 
arise if NetIO_HTTP uses HTTP/1.1 instead of HTTP/1.0?

E.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019