User32UpdateWindow(IntPtr) Method
Updates the client area of the specified window
by sending a
WM_Paint message to the window if the window's update region is not empty.
The function sends a
WM_Paint message directly to the window procedure of the specified window,
bypassing the application queue. If the update region is empty, no message is sent.
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 bool UpdateWindow(
IntPtr hWnd
)
<DllImportAttribute("User32.dll", SetLastError := true>]
Public Shared Function UpdateWindow (
hWnd As IntPtr
) As Boolean
Dim hWnd As IntPtr
Dim returnValue As Boolean
returnValue = User32.UpdateWindow(hWnd)
public:
[DllImportAttribute(L"User32.dll", SetLastError = true)]
static bool UpdateWindow(
IntPtr hWnd
)
[<DllImportAttribute("User32.dll", SetLastError = true)>]
static member UpdateWindow :
hWnd : IntPtr -> bool
No code example is currently available or this language may not be supported.
- hWnd IntPtr
-
A handle to the window to be updated.
Boolean
If the function succeeds, the return value is
.
If the function fails, the return value is
.
To get extended error information, call
GetLastWin32Error.