Table of Contents

Method SendMessage

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SendMessage(nint, uint, nint, nint)

Sends the specified message to a window or windows.

public static extern uint SendMessage(nint hWnd, uint message, nint wParam, nint lParam)

Parameters

hWnd nint

A handle to the window whose window procedure will receive the message. If this parameter is Zero, the message is sent to all top-level windows in the system.

message uint

The message to be sent.

wParam nint

Additional message-specific information.

lParam nint

Additional message-specific information.

Returns

uint

The result of the message processing; value depends on the message sent.