Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: kLSLaunchAndHide has no effect for the apps I'm starting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kLSLaunchAndHide has no effect for the apps I'm starting




On May 22, 2007, at 2:42 AM, Markus Hanauska wrote:

E.g. why does this code not start Mail in a hidden state?

	LSLaunchFSRefSpec spec = {
		&fileRef,
		0,
		NULL,
		NULL,
		kLSLaunchAndHide,
		NULL
	};

	err = LSOpenFromRefSpec(
		&spec,
		NULL
	);


Just out of curiosity, does kLSLaunchAndHideOthers (the opposite functionality) flag in LSLaunchFSRefSpec work for you? I.E. if you launch Mail with kLSLaunchAndHideOthers, does everything else but Mail hide?




_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >kLSLaunchAndHide has no effect for the apps I'm starting (From: Markus Hanauska <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.