Thread: Newbie Q: Getting keystrokes without the user hitting the Enter Button

  1. #1
    Registered User
    Join Date
    Sep 2002

    Question Newbie Q: Getting keystrokes without the user hitting the Enter Button

    Anybody know how I can get input (char particularly), without the user having to hit the Enter key? I kinda just want to get his key strokes.

    I thought I'd find the answers on the FAQ, but I guess its not there!? If anybody could clue me in on this I would greatly appriciate it!


  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Hannover, Germany
    Add an event of your own to the controls keydown eventhandler.

    If you use Visual Studio, right click on the control and select properties, click the lightning symbol for a list of available events, then doubleclick on the keydown event. It will create an event-handler for you automatically.

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. BN_CLICKED, change button style
    By bennyandthejets in forum Windows Programming
    Replies: 13
    Last Post: 07-05-2010, 11:42 PM
  2. detect what button they push without enter
    By PHP in forum C++ Programming
    Replies: 3
    Last Post: 12-24-2002, 01:09 PM
  3. Contest Results - May 27, 2002
    By ygfperson in forum A Brief History of
    Replies: 18
    Last Post: 06-18-2002, 01:27 PM
  4. I need help badly
    By taz_jiggy in forum C++ Programming
    Replies: 4
    Last Post: 04-23-2002, 09:36 PM
  5. Replies: 0
    Last Post: 10-22-2001, 12:02 AM