• 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
NSUIElement and LaunchServices
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSUIElement and LaunchServices


  • Subject: NSUIElement and LaunchServices
  • From: Stephane Sudre <email@hidden>
  • Date: Fri, 17 Sep 2004 17:45:41 +0200

Is there any specific reason why when you have a Cocoa application with its NSUIElement info set to 1, it appears in the Dock when you launch it via a LSOpenFromURLSpec call:

LSLaunchURLSpec tLaunchSpec={
							tURL,
							NULL,
							NULL,
							kLSLaunchDontAddToRecents|kLSLaunchDontSwitch,
							NULL
						};

if (noErr!=LSOpenFromURLSpec(&tLaunchSpec,NULL))
{
}

When the very same application is launched via the LoginItems ("StartupItems" on Mac OS X 10.3, which is a conflicting name BTW), it's not shown in the Dock.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSUIElement and LaunchServices
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: Re: Subclassing NSSliderCell
  • Next by Date: Re: The invisible file in Macintosh?
  • Previous by thread: Re: How to tell if a path is an Application
  • Next by thread: Re: NSUIElement and LaunchServices
  • Index(es):
    • Date
    • Thread