SoWinGLWidgetWindowMessageHook Delegate |
Represents the method that handles Win32 window messages.
Namespace: OIV.Inventor.WinAssembly: 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
)
Public Delegate Function WindowMessageHook (
hwnd As IntPtr,
msg As Integer,
wParam As IntPtr,
lParam As IntPtr,
ByRef handled As Boolean
) As IntPtr
public delegate IntPtr WindowMessageHook(
IntPtr hwnd,
int msg,
IntPtr wParam,
IntPtr lParam,
bool% handled
)
type WindowMessageHook =
delegate of
hwnd : IntPtr *
msg : int *
wParam : IntPtr *
lParam : IntPtr *
handled : bool byref -> IntPtr
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