• 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
Re: LSUIElement application and coming to the front
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LSUIElement application and coming to the front


  • Subject: Re: LSUIElement application and coming to the front
  • From: Nick Beadman <email@hidden>
  • Date: Wed, 22 Oct 2008 16:23:03 -0700

Following up on my own post. Off list some suggested that I implement - [NSWindow canBecomeKeyWindow] returning NO.

Unfortunately, this stops any keyboard entry in the window which I need. I know this is possible as the Help Viewer application allows for keyboard entry but doesn't stop keyboard shortcuts going to the current application.

How do I go about working out how it does that?
Nick

On Oct 22, 2008, at 11:47 am, Nick Beadman wrote:

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.

In a way I am attempting to replicate the same kind of functionality as the Help Viewer application. If you bring up help in Safari the Help Viewer application launches and it is possible to 'Ask a Question' in it's window. However, if you press command-Q then Safari quits, not the Help Viewer. In my application even though it has no menus pressing command-Q quits my application.

What I am missing?
Thanks,
Nick

-- Nick Beadman email@hidden (sent from my mailing list account, email@hidden)

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >LSUIElement application and coming to the front (From: Nick Beadman <email@hidden>)

  • Prev by Date: Drawing an image via 9 slices?
  • Next by Date: Re: Drawing an image via 9 slices?
  • Previous by thread: LSUIElement application and coming to the front
  • Next by thread: Re: LSUIElement application and coming to the front
  • Index(es):
    • Date
    • Thread