Informs MSHTML that a region of a rendered behavior should be redrawn.
HRESULT retVal = object.InvalidateRegion(rgnInvalid);
- rgnInvalid [in]
HRGN value that specifies a description of the area that needs to be redrawn.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
The coordinate-system origin for this region is the top-left corner of the element to which the behavior is attached.
A call to this method causes MSHTML to call IHTMLPainter::Draw.
Setting rgnInvalid to NULL causes the entire element to be redrawn.