• 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: Making Text Bigger and Smaller
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making Text Bigger and Smaller


  • Subject: Re: Making Text Bigger and Smaller
  • From: Justin Anderson <email@hidden>
  • Date: Sat, 15 Jul 2006 08:57:36 -0400

But would the menu then still flash as though a menu item had caught the key equivalent?

Would it be better in your NSWindow or NSApp subclass to eat the Cmd- = event and create a new Cmd-+ event from scratch?

Justin Anderson

On Jul 14, 2006, at 4:54 PM, I. Savant wrote:


This is not what the OP is asking. The question was, to paraphrase, how to trigger the "make it bigger" command with Cmd-= instead of Cmd-shift-= when you've set the key equiv to Cmd-+ ...


I'm thinking the window itself could trap and respond to Cmd-= and let the menu handle Cmd-+ normally. It may not be pretty but that's how I achieve the same thing (subclassing NSWindow and responding to the key combo, forwarding all others to super).

--
I.S.
_______________________________________________
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: 
 >Making Text Bigger and Smaller (From: Shoaib Hannani <email@hidden>)
 >Re: Making Text Bigger and Smaller (From: Michael Watson <email@hidden>)
 >Re: Making Text Bigger and Smaller (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Spotlight Importer Not Found in App Bundle
  • Next by Date: Re: initializers in Categories?
  • Previous by thread: Re: Making Text Bigger and Smaller
  • Next by thread: Re: Making Text Bigger and Smaller
  • Index(es):
    • Date
    • Thread