Click or drag to resize
SoWinGLWidgetSetStealFocus Method

By default the GLWidget "steals" focus whenever the cursor moves over it.

Namespace: OIV.Inventor.Win
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public void SetStealFocus(
	bool onOrOff
)

Parameters

onOrOff
Type: SystemBoolean
Remarks

This roughly simulates the UNIX/X "focusFollowsCursor" behavior (which has no equivalent in Win32) and allows the Ctrl and Shift keys to be detected for 1-button mouse behaviors. Sometimes you want to this off however, like when you're typing in the zoom field.

See Also