• 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
Re: Clicking Dock Icon creates a new window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clicking Dock Icon creates a new window


  • Subject: Re: Clicking Dock Icon creates a new window
  • From: Sherm Pendley <email@hidden>
  • Date: Sat, 13 Mar 2004 09:26:54 -0500

On Mar 12, 2004, at 9:27 PM, Bruce Truax wrote:

When I bring my Document based application to the front by clicking on the
dock icon it always spawns a new window. How can I disable this behavior?

Create a delegate object for the shared NSApplication instance, and in the delegate implement the -applicationShouldOpenUntitledFile: method.

sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Clicking Dock Icon creates a new window (From: Bruce Truax <email@hidden>)

  • Prev by Date: Re: NSString really Unicode?
  • Next by Date: Re: Clicking Dock Icon creates a new window
  • Previous by thread: Clicking Dock Icon creates a new window
  • Next by thread: Re: Clicking Dock Icon creates a new window
  • Index(es):
    • Date
    • Thread