Hi,
as described in the title, I would like to receive the MouseScrollWheelEvent from the ImageViewerControl, using the following code:
_imageViewerControl1.EnableScrollWheel = true;
_imageViewerControl1.MouseScrollWheelEvent += imageViewerControl1_MouseScrollWheelEvent;
Unfortunately, the function gets never called (MIP SDK 2017 R1). How can the MouseScrollWheelEvent be captured?
Regards,
Michael
I believe the issue is that not all events are getting through and because of this the ImageViewerControl actually has its own events. Does
-
VideoOS.Platform.Client.ImageViewerControl Class Reference
virtual void VideoOS.Platform.Client.ImageViewerControl.OnMouseScrollWheel(System.Windows.Forms.MouseEventArgs e )
-
work better?
Its a protected function and cannot be called directly.
The documentation says: “Internally used to call on event MouseScrollWheel.”
We must conclude that you cannot get these events when using the ImageViewerControl in standalone. I have persuaded Milestone Development to put it on the list for implementation in a future version MIP SDK.