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

Re: NSEvent Question


  • Subject: Re: NSEvent Question
  • From: Finlay Dobbie <email@hidden>
  • Date: Wed, 3 Oct 2001 07:28:15 +0100

On Wednesday, October 3, 2001, at 05:11 AM, Gerald Hanks wrote:

I know that I can use the flagsChanged function from NSEvent to see when a modifier key like the caps lock is changed. But how can I check when an application starts up to see if the caps lock key is already "locked"?

Try [[NSApp currentEvent] modifierFlags]

-- Finlay


References: 
 >NSEvent Question (From: Gerald Hanks <email@hidden>)

  • Prev by Date: Re: NSWindow hax0r
  • Next by Date: Re: Docklet(ing) API & 10.1: Where ????
  • Previous by thread: NSEvent Question
  • Next by thread: @"wotsit" and other platforms
  • Index(es):
    • Date
    • Thread