IOleInPlaceSiteWindowless::InvalidateRgn Method (IntPtr, Int32)

 

Enables an object to invalidate a specified region of its in-place image on the screen.

Namespace:   Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

void InvalidateRgn(
	IntPtr hRGN,
	int fErase
)

Parameters

hRGN
Type: System::IntPtr

[in] Region to invalidate, in client coordinates of the containing window. If this parameter is NULL, the object's full extent is invalidated.

fErase
Type: System::Int32

[in] Specifies whether the background within the update region is to be erased when the region is updated. If this parameter is TRUE, the background is erased. If this parameter is FALSE, the background remains unchanged.

For information on the COM interface, see BBE86F4F-D023-4285-A6C1-C42FDC566F2F

Return to top
Show: