User32SendMessage(HandleRef, ProgressBarMessages, IntPtr, IntPtr) Method

Sends the specified message to a ProgressBar control.

The SendMessage function calls the window procedure for the specified window and does not return until the window procedure has processed the message.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("User32.dll", SetLastError = true)]
public static IntPtr SendMessage(
	HandleRef hWnd,
	ProgressBarMessages msg,
	IntPtr wParam,
	IntPtr lParam
)

Parameters

hWnd  HandleRef
A handle to the window whose window procedure will receive the message.
msg  ProgressBarMessages
The message to be sent.
wParam  IntPtr
Additional message-specific information.
lParam  IntPtr
Additional message-specific information.

Return Value

IntPtr
The return value specifies the result of the message processing; it depends on the message sent.

Remarks

See Also