How to handle DirectShow video window events

The MontiVision Smart Control generates events for mouse and keyboard activity detected within the video window. The   _IMVSmartControlEvents::OnVideoWindowxxx methods from the _IMVSmartControlEvents  interface signals these inputs. To handle these inputs implement the event method in your favorite programming language  and enable the input events, using the IMVSCVideoWindow::EnableVideoWindowEvents method.

The LiveDraw ample application demonstrates the use of mouse events to draw a line onto live video. .