MvcViewport::GetUpdateRect

inline BOOLMvcViewport::GetUpdateRect(LPRECTlpRect, BOOLbErase)

Returns the current invalid region as a rectangle.

Defined in: MvcViewport.h

Return Value

Specifies the status of the update region. The value is nonzero if the update region is not empty; otherwise 0.

Parameters

lpRect

Points to a CRect object or RECT structure that is to receive the client coordinates of the update that encloses the update region.

bErase

Specifies whether the background in the update region is to be erased.