Click or drag to resize

WindowsUtilitiesInvalidateRect Method

Adds a rectangle to the specified window's update region. The update region represents the portion of the window's client area that must be redrawn.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static bool InvalidateRect(
	IntPtr handle,
	RECT rect,
	bool erase
)

Parameters

handle
Type: SystemIntPtr
A handle to the window whose update region has changed.
rect
Type: callback.ShellBoost.Core.WindowsShellRECT
The client coordinates of the rectangle to be added to the update region.
erase
Type: SystemBoolean
Specifies whether the background within the update region is to be erased when the update region is processed. If this parameter is true, the background is erased when the BeginPaint function is called. If this parameter is false, the background remains unchanged.

Return Value

Type: Boolean
true if the call succeeded, false otherwise.
See Also