• 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
Opening a closed window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Opening a closed window


  • Subject: Opening a closed window
  • From: "z" <email@hidden>
  • Date: Mon, 13 Nov 2006 11:38:46 -0500 (EST)

How can I reopen closed window by clicking a non-document based application icon in the Dock?
I assigned MyWindowController as delagate with this method:

- (BOOL)applicationShouldHandleReopen: (NSApplication *)theApplication hasVisibleWindows: (BOOL)flag {
	[ [NSApp mainWindow] makeKeyAndOrderFront: nil];
	return YES;
}
I'd appreciate help. Thanks.

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


 _______________________________________________
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

  • Follow-Ups:
    • Re: Opening a closed window
      • From: "Stephen Deken" <email@hidden>
  • Prev by Date: Configurations in Core Data
  • Next by Date: Re: Bounds questions
  • Previous by thread: Configurations in Core Data
  • Next by thread: Re: Opening a closed window
  • Index(es):
    • Date
    • Thread