IASForm::Invalidate

This method invalidates a specified rectangle.

Syntax

HRESULT Invalidate( long xLeft, long yTop, long dxWidth, long dyHeight );

Parameters

xLeft
Specifies the x-coordinate of the left edge of the form.
yTop
Specifies the y-coordinate of the upper edge of the form.
dxWidth
Specifies the width of the form.
dyWidth
Specifies the height of the form.

Return Values

NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.

Remarks

This method adds the specified rectangle to the forms update region. The update region is repainted the next time the offscreen bitmap is blitted to the screen.