NSWindow in front of NSMenu
-
13-10-2019 - |
Pergunta
Is it possible to show an NSWindow
in front of a NSMenu
, so that it is not hidden behind it?
Solução
I suppose that by "menu" you mean the main menu bar at the top of the screen? In that case,
[window setLevel:NSMainMenuWindowLevel+1];
should do the trick for you.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow