Re: Show / hide application menu / icon in dock / windows cycling / ...
Re: Show / hide application menu / icon in dock / windows cycling / ...
- Subject: Re: Show / hide application menu / icon in dock / windows cycling / ...
- From: Robert Vojta <email@hidden>
- Date: Tue, 28 May 2013 13:20:08 +0200
Ken, thanks for the reply. Prohibited is no way.
Maybe you know how to solve following problem and there will be no need for switching activation policy or creating another helper.
1. App creates new Wizard NSWindow
2. Window is visible, user did go through several steps and now I do ask ACAccountStore for permission to access system Facebook account
3. Over my wizard window, system dialog appears and asks user if he allows / disallows
4. User clicks on any button, system dialog disappears and my window disappears as well (actually my window is below other apps windows)
And now, because my app has LSUIElement set to YES, app is not listed in cycling, no menu, no dock icon and thus there's no way how to get back to my wizard window unless user moves these windows or clicks again on my status bar icon, because I know that wizard is still open and I move it to the front.
One solution, which I don't like, is to set windowLevel to NSFloatingWindowLevel for example. Now, my wizard window is still visible, but it's not convenient to have this window still on top.
I'm still thinking about it and it seems that helper is the only way unless I find some nice & clean solution.
R.
_______________________________________________
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