Re: Clicking Dock Icon creates a new window
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.