X-Spam-Check-By: sourceware.org Message-ID: <3224.66.75.158.4.1182205082.squirrel@www.wingert.org> Date: Mon, 18 Jun 2007 15:18:02 -0700 (PDT) Subject: Re: -mwindows and hour glass From: "Christopher Wingert" To: cygwin AT cygwin DOT com User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Identified-User: {1006:host16.hostmonster.com:wyngnutc:wyngnut.com} {sentby:program running on server} Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Ummm, Ok, thanks for the response, but the program is... #include int main( int argc, char *argv[] ) { sleep( 5 ); } # gcc t.c -o t -Wl,--subsystem,windows Starting this from explorer results in a 5 second busy hour glass and (of course), explorer is unresponsive until the program ends. Thanks -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Christopher Wingert wrote: > I am trying to write a small program that does not pop up a window. I > found the -mwindow option. It does not pop up a window, but while the > program is running explorer shows the hour glass busy cursor until the > application ends. I am assuming that explorer is waiting for a window to > appear. Is there a way to signal explorer that my program is running? > > Thanks no its about what resources you are accessing. system resources provoke a (in my knowledge) an arrow+hourglass and file resources provoke an hourglass. I know for a fact its about what you are doing. - -- Just a Thought Morgan Gangwere For those who want my PGP key: http://pengunassasin.is-a-geek.com/pgpKey.html ******* Wisdom for the day ******* * Dont rawquote - it gives * * spammers free bait! * ********************************** -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGdXWbCF9T/dUsmAgRAu8PAJ9mAdXJb7HVSzFyOverk8MEyUrgaACg4X7g w8za1PrSdxV7Q5MaQ5F0UOk= =xTi+ -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/