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.
Namespace: DevCase.Win32.NativeMethodsAssembly: 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
)
<DllImportAttribute("User32.dll", SetLastError := true>]
Public Shared Function SendMessage (
hWnd As HandleRef,
msg As ProgressBarMessages,
wParam As IntPtr,
lParam As IntPtr
) As IntPtr
Dim hWnd As HandleRef
Dim msg As ProgressBarMessages
Dim wParam As IntPtr
Dim lParam As IntPtr
Dim returnValue As IntPtr
returnValue = User32.SendMessage(hWnd,
msg, wParam, lParam)
public:
[DllImportAttribute(L"User32.dll", SetLastError = true)]
static IntPtr SendMessage(
HandleRef hWnd,
ProgressBarMessages msg,
IntPtr wParam,
IntPtr lParam
)
[<DllImportAttribute("User32.dll", SetLastError = true)>]
static member SendMessage :
hWnd : HandleRef *
msg : ProgressBarMessages *
wParam : IntPtr *
lParam : IntPtr -> IntPtr
No code example is currently available or this language may not be supported.
- 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.
IntPtr
The return value specifies the result of the message processing; it depends on the message sent.