Click or drag to resize
SoWinGLWidgetWindowMessageHook Delegate
Represents the method that handles Win32 window messages.

Namespace: OIV.Inventor.Win
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public delegate IntPtr WindowMessageHook(
	IntPtr hwnd,
	int msg,
	IntPtr wParam,
	IntPtr lParam,
	ref bool handled
)

Parameters

hwnd
Type: SystemIntPtr
The window handle.
msg
Type: SystemInt32
The message ID.
wParam
Type: SystemIntPtr
The message's wParam value.
lParam
Type: SystemIntPtr
The message's lParam value.
handled
Type: SystemBoolean
A value that indicates whether the message was handled. Set the value to if the message was handled; otherwise, .

Return Value

Type: IntPtr
The appropriate return value depends on the particular message. See the message documentation details for the Win32 message being handled.
Remarks
Use the AddHook method to register this handler to receive messages.
See Also