Article View: comp.sys.next.programmer
Article #174Re: Keyboard input
From: Eric P. Scott
Date: Wed, 22 Jul 1992 07:45
Date: Wed, 22 Jul 1992 07:45
20 lines
1113 bytes
1113 bytes
In article <1992Jul21.191759.3408@news2.cis.umn.edu> rowley@leghorn.cs.umn.edu. (Tim Rowley) writes: >I want keyboard events from the main window of my application. Sounds simple >enough, but I'm having problems. > >I have a view with the following things overridden: keyDown and mouseDown. >This was slightly more successful in that I now get the mouseDown events, but >pressing a key just gives a miserable "boink." Does your View implement an acceptsFirstResponder method that returns YES? [Read the description of acceptsFirstResponder (Responder) in the NeXTstep Reference.] Also, have you done [the equivalent of] [[NXApp mainWindow] makeFirstResponder:thatView] ? -=EPS=-
Technical Details
Message-ID:
<1992Jul22.074541.26840@csus.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!decwrl!csus.edu!newsReferences:
<1992Jul21.191759.3408@news2.cis.umn.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!csus.edu!news From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: Keyboard input Message-ID: <1992Jul22.074541.26840@csus.edu> Sender: news@csus.edu Reply-To: eps@cs.sfsu.edu Organization: San Francisco State University References: <1992Jul21.191759.3408@news2.cis.umn.edu> Date: Wed, 22 Jul 1992 07:45:41 GMT Lines: 20