• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Catching a click during a loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Catching a click during a loop


  • Subject: Catching a click during a loop
  • From: Mark Williams <email@hidden>
  • Date: Sat, 30 Jul 2005 13:56:39 -0700

I have a program with a rather lengthy process, and I would like to be able to click cancel and have the operation canceled. This process is preformed within a while loop. I have tried running it in a new thread, I have tried the runUntilDate and neither seems to allow my cancel button to be clicked (You click and nothing happens.)
until the process is complete.
To complicate matter parts of the app are in plain old C. no OBJ-C. and there is a loop within a loop that is in C.
Does any one have a suggestion as to how I can get my app to see the click?


Mark.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Catching a click during a loop
      • From: Cameron Hayne <email@hidden>
  • Prev by Date: Re: QTKit QTMovieView behavior
  • Next by Date: Re: Crash when calling custom methods in custom subclass.
  • Previous by thread: Re: Key event loop malfunction
  • Next by thread: Re: Catching a click during a loop
  • Index(es):
    • Date
    • Thread