bool ValidateRectangle(Handle Window, const Rectangle* Validate=Null)
This function validates a rectangle by removing it from the window's update region.
The handle of the window whose update region is being modified.
const Rectangle* Validate
A pointer to a rectangle that is to be validated. This rectangle is expressed in client coordinates. If null is specified or defaulted, the entire client area is validated.
|true||The rectangle was successfuly validated.|
|false||The call failed.|
The function BeginPaint automatically validates the entire client area.
The system continues to generate paint messages until the current update region is validated.