This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Two solutions for setup.exe windows hiding

Just my 2c...

I really dislike dialogs from windows in the background popping in front
of my current active window. Certainly when the product is launched
coming to the front makes sense. But I'll typically start the download,
switch to another windows and then switch back later to see where it is.
I often end up cancelling dialogs that pop up - because I happened to
hit SPACE or RETURN at the critical time anyway...

so from the look of your solutions I prefer 1.


> -----Original Message-----
> From: Evan McLean []
> Sent: Thursday, 30 November 2000 11:31 AM
> To:
> Subject: Two solutions for setup.exe windows hiding
> 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 
> (<>).
> 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.
> In, 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.
> In the message processing loop for each dialog, in the switch 
> statement 
> underneath the case for WM_INITDIALOG the following code is added:
> 	  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

Want to unsubscribe from this list?
Send a message to

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]