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
