Talk to the vendor of the device.  Since the user can click a button and
have the image just "pop-up" then there is a driver and software installed
for the device already.  Ask the vendor about any possible API, explain what
your app is doing.

A hack would be to always make your application top-most, and to look for
new windows with the title of the "pop-uped" image windows title or name.
Grab that image from that window and then close that window.  However, that
would be ugly ;-).

I think the best option is to talk with the vendor about capturing the image
in YOUR app instead of what ever default app they have to show the image.

Ogden Nash <http://www.brainyquote.com/quotes/authors/o/ogden_nash.html>  -
"The trouble with a kitten is that when it grows up, it's always a cat."

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
>

Reply via email to