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: Charles Srstka <email@hidden>
- Date: Sat, 13 Mar 2004 12:02:55 -0600
On Mar 13, 2004, at 9:06 AM, Bruce Truax wrote:
>
On 3/13/04 9:53 AM, "Gregory Weston" <email@hidden> eloquently
>
wrote:
>
>
> On Mar 13, 2004, at 9:05, 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?
>
>
>
> Always, or only if your application has no open windows?
>
>
>
Always.
>
>
Bruce
I know this probably isn't what you want to hear, but doing so would
violate this section of the Apple UI guidelines:
http://developer.apple.com/documentation/UserExperience/Conceptual/
OSXHIGuidelines/XHIGHowEnvAffects/chapter_7_section_3.html#//apple_ref/
doc/uid/20000957-CH294-CHDICFGC
"Clicking an application icon in the Dock should always result in a
window becoming active:
If the application is not open, a new window should open. In a
document-based application, the application should open a new, untitled
window. In an application that is not document-based, the application
window opens.
When a user clicks an open applications icon in the Dock, the
application becomes active and all open unminimized windows are brought
to the front; minimized document windows remain in the Dock. If there
are no unminimized windows when the user clicks the Dock icon, the last
minimized window should be expanded and made active. If no windows are
open, the application should open a new windowa new untitled window
for document-based applications, otherwise the main application
window."
Charles
_______________________________________________
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.