Re: Alternate for NSUIElement
Re: Alternate for NSUIElement
On Sat, Jul 27, 2002 at 03:15:30PM -0500, Philip George wrote:
>
NSBGOnly
>
and
>
LSBackgroundOnly
>
>
These are synonymous as far as I have been able to tell. I don't know
>
if they plan to remove NSBGOnly and only use LSBackgroundOnly, but the
>
latter showed up in later documentation and the documentation (if I
>
remember correctly) implies that NSBGOnly may later be deprecated.
>
Again, from what I have observed, they behave identically.
>
>
BUT...
>
>
They don't behave exactly like NSUIElement.
>
>
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.
LSUIElement is the replacement for NSUIElement; LSBackgroundOnly (as
you observed) is the replacement for NSBGOnly.
--
=Nicholas Riley <email@hidden> | <
http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
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.