Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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.
0 · ·