Re: What is the equivalent of SetSystemUIMode() in Leopard and above?
Re: What is the equivalent of SetSystemUIMode() in Leopard and above?
- Subject: Re: What is the equivalent of SetSystemUIMode() in Leopard and above?
- From: Jesper Storm Bache <email@hidden>
- Date: Tue, 26 Jan 2010 20:39:40 -0800
- Acceptlanguage: en-US
- Thread-topic: What is the equivalent of SetSystemUIMode() in Leopard and above?
I don't have the entire thread on this machine so I apologize if I am repeating someone else.
When you are ready do say "10.6 and above", then you can consider using
[NSApplication setPresentationOptions]
In the meantime SetSystemUIMode works well in both 32 and 64 bit binaries.
Jesper Storm Bache
On Jan 26, 2010, at 8:13 PM, Kiel Gillard wrote:
> On 27/01/2010, at 3:03 PM, Arun wrote:
>
>> I wanted to use SetSystemUIMode() to hide the dock item and menu of my
>> application. Do you know how can we achieve using the same?
>
> Please see the LSBackgroundOnly Info.plist key:
> <http://developer.apple.com/mac/library/documentation/General/Reference/InfoPlistKeyReference/Articles/LaunchServicesKeys.html#//apple_ref/doc/uid/20001431-109268>
>
> Kiel
>
>> On Wed, Jan 27, 2010 at 2:04 AM, Sean McBride <email@hidden>wrote:
>>
>>> On 1/25/10 5:17 PM, Arun said:
>>>
>>>> Are there any cocoa equivalent API's for SetSystemUIMode() available in
>>>> Leopard 10.5 and above?
>>>> I want to hide dock and menu item at run time in my application.
>>>
>>> SetSystemUIMode works well for me in 10.5 and above. Is it causing
>>> problems for you?
>>>
>>> --
>>> ____________________________________________________________
>>> Sean McBride, B. Eng email@hidden
>>> Rogue Research www.rogue-research.com
>>> Mac Software Developer Montréal, Québec, Canada
>>>
>>>
>>>
>> _______________________________________________
>>
>> 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
>
> _______________________________________________
>
> 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
_______________________________________________
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