Click or drag to resize
SoWinRenderAreaEventFunction Property
Sets the event delegate that will be called before viewer process keyboard or mouse event.

Namespace: OIV.Inventor.Win
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public SoWinRenderAreaEventCallback EventFunction { get; set; }

Property Value

Type: SoWinRenderAreaEventCallback
Remarks

Windows messages which occur in the render area window are either directly handled by the viewer (when this is really a viewer) or automatically translated to SoEvents, then passed into the scene graph (via the SoHandleEventAction) so that live scene graph objects can handle the message (when viewers are not in viewing mode).

This method allows the application to register a delegate for handling messages that occur in the window, instead of sending them to the viewers or down the graph. The delegate should return true if it handled the message. If the delegate returns false, then the message will be handled by the render area.

See Also