On Aug 7, 2009, at 8:52 AM, Pierce Freeman wrote:

Hmm, yes, the keystroke to invoke Exposé should still be blocked. I can't say
offhand why it wouldn't be.

Hmm... Interesting. I’m not quite sure either – maybe something with the
key I’m using... F3?

Yes, that's the problem. The hardware keys aren't blocked either.

Yeah, that’s what I was using, but then I was told that I couldn't use
NSAlert with the API. Is there someway around this, or should I keep the
CGDisplayCapture API?

If you absolutely must disable Expose, CGDisplayCapture is the way to go. The caution about NSAlert is correct, though - CGDisplayCapture is designed to give you one window in which to draw all of your content, and the window server does not guarantee that other windows could be displayed while the display is captured.

-eric

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to