views:

26

answers:

1

Hi everyone, is it possible to get an NSWindow to block everything in my application just like an Alert panel so that it is the key window until closed?

A: 

An alert is a simple modal window, you can run yours with

[NSApp runModalForWindow: myNSWindow];

Lothar
Thanks! Worked excellently! How did i not see this?
Alex Zielenski