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:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax 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: 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:
Booleantrue if the call succeeded,
false otherwise.
See Also