• 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
Show / hide application menu / icon in dock / windows cycling / ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Show / hide application menu / icon in dock / windows cycling / ...


  • Subject: Show / hide application menu / icon in dock / windows cycling / ...
  • From: Robert Vojta <email@hidden>
  • Date: Mon, 27 May 2013 13:30:55 +0200

Hi all,

I've got application (Mac Application Store, deployment target >= 10.8), which has LSUIElement set to YES in Info.plist. It's status bar application. I do open windows without menu in menu bar and app icon is not visible in dock, cycling, … Just what I need.

But now, I've got one window, which is wizard/tour/... and I would like to show menu for this one window and I also would like to have it visible in cycling (cmd-tab windows switching).

Tried to change activation policy and it does work partially. LSUIElement = 1 equals to NSApplicationActivationPolicyAccessory. According to the documentation, I can change it to NSApplicationActivationPolicyRegular to show menu and show app icon in cycling. But anyway, it's not possible to go back from NSApplicationActivationPolicyRegular to NSApplicationActivationPolicyAccessory. setActivationPolicy: always returns NO and it's correct according to the documentation: Currently, NSApplicationActivationPolicyNone and NSApplicationActivationPolicyAccessory may be changed to NSApplicationActivationPolicyRegular, but other modifications are not supported.

Is there another way how can I achieve this behavior? LSUIElement = YES application with menu/app icon in dock/... for just one particular window? Other windows can't be opened in the same time and this is just the only visible window.

Thanks,
Robert

_______________________________________________

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


  • Follow-Ups:
    • Re: Show / hide application menu / icon in dock / windows cycling / ...
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: Restricted FontPanel
  • Next by Date: Re: Show / hide application menu / icon in dock / windows cycling / ...
  • Previous by thread: Re: Restricted FontPanel
  • Next by thread: Re: Show / hide application menu / icon in dock / windows cycling / ...
  • Index(es):
    • Date
    • Thread