Method NewMouseEvent
NewMouseEvent(MouseEventArgs)
Processes a new MouseEvent. This method is called by RaiseMouseEvent(MouseEventArgs) when a mouse event occurs.
public bool? NewMouseEvent(MouseEventArgs mouseEvent)
Parameters
mouseEvent
MouseEventArgs
Returns
Remarks
A view must be both enabled and visible to receive mouse events.
This method raises RaiseMouseEvent(MouseEventArgs)/MouseEvent; if not handled, and one of the mouse buttons was clicked, the RaiseMouseClickEvent(MouseEventArgs)/MouseClick event will be raised
See SetPressedHighlight(HighlightStyle) for more information.
If WantContinuousButtonPressed is true, the RaiseMouseEvent(MouseEventArgs)/MouseEvent event will be raised on any new mouse event where Flags indicates a button is pressed.