• 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: flagsChanged:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: flagsChanged:


  • Subject: Re: flagsChanged:
  • From: Devin Lane <email@hidden>
  • Date: Sat, 18 Oct 2003 20:23:06 -0700

Daniel

I wrote a simple app to demonstrate this:

[demime 0.98b removed an attachment of type application/x-stuffit which had a name of CommandTet.sitx]
Unfortunately, I was unable to get the command-key glyph to display
properly (some weird unicode thing)

Hope this helps,

-- Devin Lane, Cocoa Programmer
email: email@hidden
On Oct 18, 2003, at 4:22 PM, Daniel Todd Currie wrote:

> I'm trying to implement the functionality seen in several other OSX
> apps, where the command shortcut is shown on a button whenever the
> command key is down. I've tried (upon several different
> recommendations) subclassing NSResponder, NSApplication, and NSWindow,
> using flagsChanged:, keyDown:, and acceptsFirstResponder methods
> wherever appropriate. I've tried linking these classes in IB,
> instantiating them in my applicationDidFinishLaunching: delegate,
> basically anything i can think of. Nothing works; can someone please
> just tell me which classes/methods will do this and how I need to set
> it up (please try to avoid speculation, I've had quite enough
> suggestions that "should work" and didn't).
>
> Thanks in advance,
>
> // Daniel Currie
> _______________________________________________
> 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.
_______________________________________________
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.

References: 
 >flagsChanged: (From: Daniel Todd Currie <email@hidden>)

  • Prev by Date: Re: Exposè and Cocoa...
  • Next by Date: Re: Exposè and Cocoa...
  • Previous by thread: flagsChanged:
  • Next by thread: Re: flagsChanged:
  • Index(es):
    • Date
    • Thread