On Wed, 22 Oct 2008 11:47:01 -0700, Nick Beadman <[EMAIL PROTECTED]> said: >I am working on an application which is a floating palette that only >appears when another application is frontmost. I have set LSUIElement >in the Info.plist but when the palette comes to the front my >application becomes active keyboard shortcuts no longer work in the >other application.
I know this isn't quite the answer you want, but one approach is to give up on LSUIElement and just have a normal app. Your app can watch what app is frontmost and show and hide itself accordingly, and can intrude its palette so that it is in front even when the other app is actually frontmost (using NSFloatingWindowLevel), thus calling attention to itself as a window supplementary to the other app, but there is still a distinction, and when the user actually clicks on the palette to use it, your app comes to the front. I use this approach and I and my users find it a lot less confusing than e.g. what Help Viewer does in Leopard (which is simply horrendous IMHO). m. -- matt neuburg, phd = [EMAIL PROTECTED], <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf> AppleScript: the Definitive Guide - Second Edition! <http://www.amazon.com/gp/product/0596102119> _______________________________________________ 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 [EMAIL PROTECTED]