On Aug 7, 2009, at 9:09 AM, Pierce Freeman wrote:

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

In any event, I've submitted a bug report about the issue and hopefully it will be resolved in Snow Leopard. I'm not betting on it, but it may just
make it through.

It won't be, sorry.

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.

So, assuming that I need/want alerts, but can't have Exposé enabled - what
are my other options?

I don't have any good recommendations. It might be possible to intercept and suppress the physical Exposé key on the keyboard using some IOKit callbacks; I haven't tried this. Hot corner and four-finger- swipe activations of Exposé can be disabled in System Prefs, so you could instruct your users to disable those before running your application.

-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