X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sun, 5 Jul 2009 13:16:10 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: popup consoles on Windows 7 Message-ID: <20090705171610.GB21218@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <416096c60906270139y33e2888cq148430eebb744b71 AT mail DOT gmail DOT com> <20090628103010 DOT GT30864 AT calimero DOT vinschen DOT de> <20090702174425 DOT GC9839 AT ednor DOT casa DOT cgf DOT cx> <20090703104423 DOT GA18746 AT calimero DOT vinschen DOT de> <20090703150212 DOT GA26858 AT ednor DOT casa DOT cgf DOT cx> <20090704161431 DOT GB11034 AT ednor DOT casa DOT cgf DOT cx> <20090705001152 DOT GA2510 AT ednor DOT casa DOT cgf DOT cx> <416096c60907050233q344d37cds41859c611c7ab660 AT mail DOT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <416096c60907050233q344d37cds41859c611c7ab660@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Sun, Jul 05, 2009 at 10:33:47AM +0100, Andy Koppe wrote: >2009/7/5 Christopher Faylor: >>As I type this I realize that I didn't really confirm that the new >>invisible console code has the desired effect in mintty. It is >>supposed to make some (native?) apps work better. > >No, its main purpose is to stop console subsystem applications from >popping up their own console. This includes most Cygwin programs >(which I think is wrong). Yes. That was the main reason I originally added this to Cygwin. Some (presumably gui) apps did not behave correctly unless there was some sort of console present too. I don't remember which they are now. >>If you want to try a snapshot, make sure that you grab the new helper >>app "cygwin-console-helper.exe" and put it in /bin. ??Without this, >>you'll still see the same flashes as the 20090703 snapshot. > >I see the code for invoking it, but I don't fully understand it: how >come the helper process doesn't show up in task manager (which is >great, btw)? In my testing, just starting the helper app with SW_HIDE creates a process which doesn't live on the toolbar. But, as the comments say, the later SetParent call should ensure that. Only windows which are owned by the desktop window show up on the toolbar. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple