On Aug 5, 2009, at 8:45 PM, Pierce Freeman wrote:

I am wondering if anyone knows of a way to disable Exposé in SystemUIMode. I am using this class to create a kiosk-based application and don't want the user to be able to switch between other windows. If there isn't a way to do
this inside the class, is there another class that can accomplish this
instead?


Using SetSystemUIMode disables Expose in my app just fine. I call it with these parameters:

OSStatus status = SetSystemUIMode (kUIModeAllHidden, kUIOptionDisableProcessSwitch);

There's a technote here which covers the options (although seems a bit outdated)

<http://developer.apple.com/technotes/tn2002/tn2062.html>

___________________________________________________________
Ricky A. Sharp         mailto:rsh...@instantinteractive.com
Instant Interactive(tm)   http://www.instantinteractive.com



_______________________________________________

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