Try [NSApp runModalForWindow:window];
Cheers
Mike
On 9 Jul 2008, at 13:59, Ronnie B wrote:
I am trying to implement a login UI for a small app. The idea is
that after
the MainWindow nib is loaded, in case if no credentials were
entered, a
modal window asking for name and password will show up. The app
will be
blocked unless the modal window is closed either with Submit or Cancel
button. I've seen it done with the Sheets, but the desired would be
the
modal window.
Thanks,
Ron
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/mdb%40realvnc.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]