1. Use a driver that recognizes the button. 2. Write a driver that recognizes the button. 3. Go raw and, if you can, figure out what data represents a button click. Capture it and act from there.
∞ Andy Badera ∞ +1 518-641-1280 ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me: http://www.google.com/search?q=andrew%20badera On Tue, Oct 13, 2009 at 6:35 AM, Andrew <[email protected]> wrote: > > I have a medical WinForms application (VS 2008 C#) running on a > touchscreen that happens to have a camera image displayed on the > screen. The image comes from a USB camera at the back end of an > endoscope and images of the inside of unmentionable orifices need to > be stored in a patient database when the operator taps a button on the > screen. I use a product called VideoCapX to handle the camera image > processing. > > Some hospitals have started to use a different endoscope camera that > has a physical button on it like a web-cam. Clicking this button > "captures" a single frame that pops up on top of my aplication, and > the people who are using this new camera are rightly peeved that the > image does not end up inside the database in the same way as tapping > the "Capture" button on the screen. > > I need to either disable the physical button, or, more elegantly, > capture the press event of the button and use it to capture a frame as > though they had tapped the button on the screen. > > I have searched the internet in vain so either I have not used the > right search words, or I am not understanding what I require, or I am > looking in all the wrong places. > > Can you help please? > > Regards > ~A >
