COleControl::InvalidateControl

void InvalidateControl( LPCRECT lpRect = NULL );

Parameters

lpRect

A pointer to the region of the control to be invalidated.

Remarks

Call this function to force the control to redraw itself. If lpRect has a NULL value, the entire control will be redrawn. If lpRect is not NULL, this indicates the portion of the control’s rectangle that is to be invalidated. In cases where the control has no window, or is currently not active, the rectangle is ignored, and a call is made to the client site’s IAdviseSink::OnViewChange member function. Use this function instead of CWnd::InvalidateRect or ::InvalidateRect.

COleControl OverviewClass MembersHierarchy Chart

See Also   COleControl::Refresh