Urgent: please help me

Hi everyone,

I want my application to process only keyboard input but not any other device's input, like barcode. I have a window with an edit box there. Focus is on edit box which is a child window of the main window. I want that my edit box should not take barcode scanner's input. But if i press any key on keyboard , it should take it. I have heard about Windows Hooks. but i m unable to distinguish between the messages coming from keyboard and barcode reader. As my application will get WM_CHAR msg in both cases. Can hooks help me...? if yes then how..? Please help me as soon as possible.. it's very important.

Rakesh Pahwa
Software Developer,
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!