Catching a click during a loop
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