Re: AppKit doesn't honor "Untitled" document handling - why?
Re: AppKit doesn't honor "Untitled" document handling - why?
- Subject: Re: AppKit doesn't honor "Untitled" document handling - why?
- From: Dan Wood <email@hidden>
- Date: Wed, 17 Oct 2001 17:51:08 -0700
My understanding is that if you use NSDocument, this is handled
correctly for you. Are you using NSDocument to manage your
documents? If you don't, you should read the documentation for
this method and proceed accordingly....
- (BOOL)applicationShouldHandleReopen:(NSApplication
*)theApplication hasVisibleWindows:(BOOL)flag
On Wednesday, October 17, 2001, at 05:09 PM, Chuck Norris wrote:
I'm finding that the AppKit is not honoring the Human Interface
guidelines about how to handle untitled documents when swapping
from background to foreground.
My understanding of the human interface guidelines is that when an
App switches to the foreground, *some* sort of document needs to
open. If there is already a document, that's fine - it should
come to the foreground. If there is not already a document,
either a minimized one should de-minimize (what's the right term
here?), or a new "Untitled" document should open.
I would expect the AppKit to just handle this correctly for
multiple-document applications, but it's certainly not doing it
for me.
What's the story here? Is my expectation just wrong? Do I have a
configuration problem? I'm sure I can figure out how to do this
myself, but it seems like AppKit should handle this itself...
Chuck
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
--
Dan Wood
email@hidden
http://www.karelia.com/
http://www.bikealameda.org/
Mac OS X Developer: Online Resume:
http://www.karelia.com/resume.html