Click or drag to resize

Win32WindowInvalidateRect Method

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

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public bool InvalidateRect(
	RECT rect,
	bool erase
)

Parameters

rect
Type: 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