• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Strange behavior of applicationShouldHandleReopen delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange behavior of applicationShouldHandleReopen delegate


  • Subject: Strange behavior of applicationShouldHandleReopen delegate
  • From: yogin bhargava <email@hidden>
  • Date: Wed, 24 Feb 2010 16:00:59 +0530

Hi All,
    I have the following delegate being implemented in my app.
- (BOOL)applicationShouldHandleReopen:(NSApplication *)theApplication
hasVisibleWindows:(BOOL)flag
{
    [mainApplicationWindow makeKeyAndOrderFront: self];
    return NO;
}

This delegate is called when i close my window and click on the dock icon
and so the window relaunches. This is fine. The problem is this application,
while it is running, and the system reboots, it relaunches. And during this
time the delegate is not being called after the closure of the window.
Rather the dock says application not responding.

Any suggestions please.

Thanks,
--
YOGIN BHARGAVA,
Flat No TF-2,
Phase 4,
Lotus Krest,
Kundalahalli Colony,
ITPL Main Road,
Bangalore-560067
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Prev by Date: Re: Tracking NSPoint in flipped superview
  • Next by Date: Re: Removing quit button from dock menu
  • Previous by thread: Re: Tracking NSPoint in flipped superview
  • Next by thread: Stop editing session of NSTextField
  • Index(es):
    • Date
    • Thread