• 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: Alternate for NSUIElement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alternate for NSUIElement


  • Subject: Re: Alternate for NSUIElement
  • From: Philip George <email@hidden>
  • Date: Sun, 28 Jul 2002 19:28:24 -0500

If your app has an NSStatusItem and/or launches windows, if you are set
to NSUIElement, you become active and you can accept keyboard events.

Not sure which of these things is a bug, but it does happen. I've been
struggling with that with my app for some time now.

- Philip


On Sunday, July 28, 2002, at 05:34 PM, Keith Stattenfield wrote:

> *This message was transferred with a trial version of CommuniGate(tm)
> Pro*
> On 7/27/02 12:48 PM, "Max Seelemann.de" <email@hidden> wrote:
>
>> is there an alternate way to don't show an app in the dock than using
>> NSUIElement??
>
> LSBackgroundOnly true
>
> Causes applications to be background only, and don't show up in the
> Dock or
> in the Force Quit dialog.
>
>> NSUIElement allows the app to accept focus or become key or become
>> active. NSBGOnly and LSBackgroundOnly do not allow that. They are
>> more
>> for background apps than just removing the icon from the dock and other
>> such things. They do accept clicks, but they do not accept keyboard
>> events.
>
> Except NSUIElements shouldn't really be able to come to the front, since
> they don't have a menu bar. In Mac OS 10.1 and before, though, they
> would.
> Some future release won't allow NSUIElements to be the frontmost
> application.
>
> -Keith
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Alternate for NSUIElement (From: Keith Stattenfield <email@hidden>)

  • Prev by Date: Re: Serial number verification / obfuscation (was: Re: Hiding
  • Next by Date: Re: Creating a class cluster
  • Previous by thread: Re: Alternate for NSUIElement
  • Next by thread: Breaking on runtime asserts
  • Index(es):
    • Date
    • Thread