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: Ken Thomases <email@hidden>
- Date: Tue, 28 May 2013 06:31:23 -0500
On May 28, 2013, at 6:20 AM, Robert Vojta wrote:
> 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.
Can't you just activate your app (if it's been deactivated) and order your window to the front when the ACAccountStore request completes?
Regards,
Ken
_______________________________________________
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