I did a program with c# windowsform where I can activate my webcam and take snapshots with a button from the form; How I can program the webcam button of my Genius e-messenger 310 to take photos?
obviously i used the directshow libraries to do my program.
I'm not aware of a standard way to trap a webcam button pressed event. This can be handled by WIA but I'm not sure of that...
Try to write a WinForm with an overloaded WndProc method that trace every receved messages and check if the webcam button trigger a windows event.
You might experiment with IAMVideoControl::SetMode(Trigger). You can see this in the DxSnap sample.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.