Laurent,
The doc for showWindow says:
If the window is an NSPanel object and has its becomesKeyOnlyIfNeeded
flag set to YES, the window is displayed in front of all other windows
but is not made key; otherwise it is displayed in front and is made
key.
My window is an NSWindow, so
This works to update the main menu. Kind of a kludge, since the menu
is already set as visible, but it must also force a redraw.
[NSMenu setMenuBarVisible:YES];
[MyWindowController showWindow:self];
On Aug 10, 2011, at 5:42 PM, Laurent Daudelin wrote:
On Aug 10, 2011, at 14:25, Michael
Hi,
My app sometimes runs by being started by a launch agent. When that
happens, the app in minimized in the Dock by calling the NSApplication
method miniaturizeAll. That works fine. When the operation is
complete, I want to again show the app, so I call the
NSWindowController method
On Aug 10, 2011, at 14:25, Michael Domino wrote:
Hi,
My app sometimes runs by being started by a launch agent. When that happens,
the app in minimized in the Dock by calling the NSApplication method
miniaturizeAll. That works fine. When the operation is complete, I want to
again show