• 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
silly event question 'cuz i'm a n00b
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

silly event question 'cuz i'm a n00b


  • Subject: silly event question 'cuz i'm a n00b
  • From: John Zorko <email@hidden>
  • Date: Wed, 08 Oct 2008 19:46:41 -0700


Hello, all ...

If a certain flag is set, my app needs to advance to the next item in a list to process it when the previous item is done. However, I want the user to still be able to stop it, so I don't want to hang the UI. In effect, if this flag is set, I want the app to act as if the user had manually selected the next item to process.

In Win32, one way I could do this is by using PostMessage() -- when the current item is finished processing, it would post a message to the relevant threads' message queue and it would get processed, just as if the message was put there as a result of a GUI action. How do I do this in Cocoa, or is there a better way?

Regards,

John

Falling You - exploring the beauty of voice and sound
http://www.fallingyou.com











_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: silly event question 'cuz i'm a n00b
      • From: Chris Idou <email@hidden>
    • Re: silly event question 'cuz i'm a n00b
      • From: Andrew Merenbach <email@hidden>
    • Re: silly event question 'cuz i'm a n00b
      • From: Jamie Hardt <email@hidden>
  • Prev by Date: Re: NSTextView/NSAttributedString supported file types
  • Next by Date: Re: NSTextView/NSAttributedString supported file types
  • Previous by thread: Re: Starting a drag in mouseDragged
  • Next by thread: Re: silly event question 'cuz i'm a n00b
  • Index(es):
    • Date
    • Thread