• 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
Re: Drawing from secondary thread erases resize corner in window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing from secondary thread erases resize corner in window?


  • Subject: Re: Drawing from secondary thread erases resize corner in window?
  • From: "Hamish Allan" <email@hidden>
  • Date: Thu, 28 Feb 2008 22:01:31 +0000

On Thu, Feb 28, 2008 at 9:18 PM, Hank Heijink <email@hidden> wrote:

>  That's not my experience. If I just add a timer for the
>  NSEventTrackingRunLoopMode, the only time that timer fires is when the
>  run loop is in event tracking mode, which is what I would expect. In
>  the NSDefaultRunLoopMode, that timer doesn't fire at all. Are you
>  doing something somewhere else to make this happen, or am I missing
>  something?

You could try kCFRunLoopCommonModes (pre-Leopard) /
NSRunLoopCommonModes (post-Leopard). I believe that
NSDefaultRunLoopMode and NSEventTrackingRunLoopMode are in the default
common modes (along with NSEventTrackingRunLoopMode) but if not, you
can add common modes using CFRunLoopAddCommonMode().

Hamish
_______________________________________________

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: Drawing from secondary thread erases resize corner in window?
      • From: "Hank Heijink (Mailinglists)" <email@hidden>
References: 
 >Re: Drawing from secondary thread erases resize corner in window? [solved, for now] (From: Nate Weaver <email@hidden>)
 >Re: Drawing from secondary thread erases resize corner in window? [solved, for now] (From: Hank Heijink <email@hidden>)
 >Re: Drawing from secondary thread erases resize corner in window? [solved, for now] (From: Nate Weaver <email@hidden>)
 >Re: Drawing from secondary thread erases resize corner in window? (From: Hank Heijink <email@hidden>)

  • Prev by Date: Re: Drawing from secondary thread erases resize corner in window?
  • Next by Date: Drag and drop single cell in a table/matrix
  • Previous by thread: Re: Drawing from secondary thread erases resize corner in window?
  • Next by thread: Re: Drawing from secondary thread erases resize corner in window?
  • Index(es):
    • Date
    • Thread