• 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
Calling NSBeginAlertSheet() from outside the main thread messes up animation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Calling NSBeginAlertSheet() from outside the main thread messes up animation


  • Subject: Calling NSBeginAlertSheet() from outside the main thread messes up animation
  • From: Daniel Aarno <email@hidden>
  • Date: Mon, 24 Nov 2003 23:54:22 +0100

Hi, I want to use NSBeginAlertSheet() to display an alert in a window. The error is detected in a different thread than the main thread, and although NSBeginAlertSheet() works and produces the alert sheet the drawing is messed up.

What happens is that as the sheet animates it is transparent (outlined) or transparent green. If I invoke NSBeginAlertSheet() from the main thread no such problems occur. Everything else works as expected, only the animation is messed up. Anyone have any insight on this (cause and or solution)?

/Bishop
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Need to draw a NSImage into a graf port
  • Next by Date: Menu itemhighlighting flakey in panther
  • Previous by thread: RE: Displaying color code in stead of colored text?
  • Next by thread: Re: Calling NSBeginAlertSheet() from outside the main thread messes up animation
  • Index(es):
    • Date
    • Thread