• 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: Suppress "Arrange in Front" menu item in Window menu?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suppress "Arrange in Front" menu item in Window menu?


  • Subject: Re: Suppress "Arrange in Front" menu item in Window menu?
  • From: Kristin Forster <email@hidden>
  • Date: Thu, 26 May 2005 10:14:10 -0700

Hi Jim,
There are several ways to do this, but the easiest is probably to modify the action for that menu item in the nib, so that we won't recognize it at runtime. That will prevent the addition of the alternate menu item.


If you implement a method to do your custom arrangement, and name it something other than "arrangeInFront:", you can use IB to set the target/action of the "Bring All to Front" menu item to your object and method name.

Thanks,
Kristin

On May 25, 2005, at 5:19 PM, Jim Correia wrote:

(Tesent because the original message had the wrong subject...)

The AppKit release notes for 10.4 say:

We have added an "Arrange in Front" alternate menu item for the "Bring
All to Front" menu item in the Window menu. Applications should not hard
code the indices of items in the Window menu, as the addition of an
alternate menu item, or any other Window menu changes, will change the
indices of other menu items. We have limited this change to applications
built on Tiger or later to preserve binary compatibility.


Is there a way to suppress this menu item if your app was built on 10.4?

It makes limited sense in an application like iCal (which incidentally doesn't have the item - was it built on 10.4?)

It also makes limited sense in one of my apps which already has an "Arrange in Front" menu item, which isn't dynamic, also runs on 10.3, and uses custom logic to arrange the windows rather than a "simple" cascade.

Thanks,
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40pobox.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Suppress "Arrange in Front" menu item in Window menu? (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: Slow horizontal scrolling w/NSMutableAttributedStrings
  • Next by Date: Re: NSImageView and custom cells....
  • Previous by thread: Suppress "Arrange in Front" menu item in Window menu?
  • Next by thread: NSTreeController question
  • Index(es):
    • Date
    • Thread