Re: Accessory NSPanel vanishes on first click after app launches - Follow up

2011-08-02 Thread Peter
I forgot to add: Using - (void)windowDidBecomeMain:(NSNotification *)notification - (void)windowDidResignMain:(NSNotification *)notification make the panel stay on the screen after the first mouse click, but on the other hand do not achieve the desired effect, i.e. remove the panel when other

Accessory NSPanel vanishes on first click after app launches - Follow up

2011-08-02 Thread Peter
After setting a breakpoint at -[NSWindow orderOut:] (thanks for this and other hints to Kyle Sluder! - in a post on this list about a year ago) it turns out that it is exactly my - (void)windowDidResignKey:(NSNotification *)notification which takes the panel off the screen. (I wonder why I hadn