• 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
Loosely in the Window Menu with Diamonds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Loosely in the Window Menu with Diamonds


  • Subject: Loosely in the Window Menu with Diamonds
  • From: joe pezzillo <email@hidden>
  • Date: Thu, 6 May 2004 10:16:06 -0600

Greetings Cocoa-Dev! Long Time No Post...

One of my testers with an excellent grasp on the AHIG has brought this to my attention, and although I searched my local Mail archives (1210 digest messages) for variations on "Minimize" and use of "kDiamondCharCode", I haven't found anyone else ask or answer this yet (but I do see that I missed a good flame war on minimizing errors by minimizing code). Also, searching for "Cocoa window menu diamond" shows that this issue was mentioned on a Betalogue post in January, but also finds a whole bunch of other documents that happen to have at least two of those words on the page, including at least one page that isn't, ahem, appropriate...if you know what I mean.

According to the AHIG (Menus > Designing the Elements > Using Symbols), when a window with unsaved changes is minimized, it's expected to show a diamond in the Window menu.

Now, being a Cocoa Document based application, I was expecting I'd get this behavior at no extra charge, but I seem to be mistaken.

In fact, even Mail doesn't seem to do this (I just tested it with this message window), nor does the perennial favorite, Sketch. Sure, if you're the Finder you do it for all your minimized windows, but are YOU the Finder? I know I'm not.

So, am I supposed to wait for the windowWillMiniaturize: delegate method and then sneak in the kDiamondCharCode myself, plus then remove it again when the window gets inflated?

I don't mean to complain, but considering how sweet Cocoa has been to me elsewhere, that seems like a lot of work, so I figure I must be missing something.

Is there an "easier" way or am I off the hook for this aspect of the guidelines until the ten point something (point something) release?

As always, many thanks for any help on this issue, and also for such a fine brew.

Joe
email@hidden
_______________________________________________
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.


  • Prev by Date: Binding Question
  • Next by Date: Re: Adding Document Types Programmatically
  • Previous by thread: Re: Binding Question
  • Next by thread: Preserving types in propertyLists
  • Index(es):
    • Date
    • Thread