Click or drag to resize
SoMouseButtonEventIsButtonDoubleClickEvent Method

Returns whether the passed event is a mouse button double click event of the passed button.

Namespace: OIV.Inventor.Events
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public static bool IsButtonDoubleClickEvent(
	SoEvent e,
	SoMouseButtonEventButtons whichButton
)

Parameters

e
Type: OIV.Inventor.EventsSoEvent
whichButton
Type: OIV.Inventor.EventsSoMouseButtonEventButtons

Return Value

Type: Boolean
Remarks

When OIV.Inventor.Events.SoMouseButtonEvent.Buttons.ANY is passed, this returns true if the event represents a double click of any mouse button.

See Also