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

Re: Locking key window


  • Subject: Re: Locking key window
  • From: Murat Konar <email@hidden>
  • Date: Wed, 07 Mar 2007 18:14:07 -0800


On Mar 7, 2007, at 5:58 PM, Rick Hoge wrote:

The app runs fine at present, but I would like to find a way to ensure that, while an experimental run is in progress, all keyboard activity is processed by the window presented to the subject, even if another window is clicked with the mouse. I had a vague feeling that this might be achievable using either a run loop or one of the firstResponder methods defined in NSResponder. However I have yet to find a solution.

If anyone has any tips on how this might be achieved, it will probably save some aggravation one day when someone clicks the experimenter's window by mistake and later realizes that none of the subject's responses were recorded!

You could make the subject's window modal, yes? See NSApplication's runModalForWindow: method.


_murat
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Locking key window
      • From: Rick Hoge <email@hidden>
References: 
 >Locking key window (From: Rick Hoge <email@hidden>)

  • Prev by Date: Re: Locking key window
  • Next by Date: Re: Locking key window
  • Previous by thread: Re: Locking key window
  • Next by thread: Re: Locking key window
  • Index(es):
    • Date
    • Thread