| www.delorie.com/archives/browse.cgi | search |
| 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" <mailbox AT wingert DOT org> |
| To: | cygwin AT cygwin DOT com |
| User-Agent: | SquirrelMail/1.4.9a |
| MIME-Version: | 1.0 |
| 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: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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...
<bof>
#include <stdio.h>
int main( int argc, char *argv[] )
{
sleep( 5 );
}
<eof>
# 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |