On Thu, Nov 20, 2008 at 6:37 AM, Macarov Anatoli
<[EMAIL PROTECTED]> wrote:

> I found this function. But it doesn't respond to reopen application. I just 
> declare it in class MainMenu.nib. This is my code:
> - (BOOL)applicationShouldHandleReopen:(NSApplication *)sender 
> hasVisibleWindows:(BOOL)flag
> {
>     NSLog(@"****Reopen****");
>     return YES;
> }

That needs to be implemented by the object that is a delegate of NSApplication.

-Shawn
_______________________________________________

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]

Reply via email to