To detect any 'Enters' pressed

Hi,

How about detecting any 'Enters' pressed in the keyboard How can we have a thread for detecting this

Thks & Rgds,

HuaMin




Answer this question

To detect any 'Enters' pressed

  • Marinos Christoforou

    Every character that is types arrives in your program inside the message loop with a WM_KEYDOWN and WM_CHAR messages. You can trapp them there or you use a Keyboard hook. SetWindowsHookEx with WH_KEYBOARD.



  • shazi

    I merged the threads because they deal about the same problem.

  • Roman Golovin

    What is your idea To get all hits to the enter key in all applications Or just your Application or just a window of your application

    What do you want to solve To answer this question I need more infos about the problem.



  • wri

    Hi,

    Suppose that within a specific editing area, I just want to show any words, characters, or symbols typed by the users of that. The way is just to show anything that have been detected. How about the control behind this

    Thks & Rgds,

    Huamin



  • patWrecks

    I just want to detect any hits and then show the corr. empty lines in the editing area I've created.

  • To detect any 'Enters' pressed