This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: Blind people using setup.exe?
On Tue, 28 Jun 2005, Chris January wrote:
> Brian Dessent wrote:
>
> > I think having a spurious console appear and then disappear is not very
> > friendly. I have considered having it do a messagebox with the --help
> > output, which I guess is better than what we have now.
>
> You can use AttachConsole (ATTACH_PARENT_PROCESS) to attach to the parent
> process console. If the parent process does not have a console the call will
> fail and you can popup a message box instead. IMHO this is the most
> user-friendly way of doing things.
Incidentally, ATTACH_PARENT_PROCESS isn't defined in w32api. I'll need to
send a bug report to the main list, I suppose...
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT