I’m using an NSWindow and set it’s level to NSStatusWindowLevel :
[aWindow setLevel:NSStatusWindowLevel];
Now, when I present a sheet (self is my sheet window)
modalAnswer = 0;
[NSApp beginSheet:self modalForWindow:aWindow modalDelegate:self didEndSelector:NULL contextInfo:nil];
[self makeKeyAndOrderFront:nil];
then the window doesn’t show up above the dock, it hides underneath (meaning that NSStatusWindowLevel doesn’t work anymore).
I’ve tried changing the level of the sheet window, but it won’t work.
What’s causing this issue?
I asked for technical support and they found it was a silly mistake : sheets normally are modal, but I was making it modal myself too.