Modal dialog weirdness
Modal dialog weirdness
- Subject: Modal dialog weirdness
- From: Derrick Bass <email@hidden>
- Date: Sat, 19 Nov 2005 04:15:06 -0600
I am trying to display a modal dialog when my app launches, but there
are some weird things going on.
I've put the following code in my application delegate:
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
// .... not shown: code to check if app is not registered and
load registration dialog from nib.
[NSApp runModalForWindow:[registrationController window]];
[[registrationController window] close];
}
First, when the dialog is displayed, the Quit menu item is disabled.
How do I enable it?
Second, although the "Open Recent" menu is disabled, the "Open..."
item still works! How do I disable it?
Derrick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden