COleServerDoc::GetItemClipRect

void GetItemClipRect( LPRECT lpClipRect ) const;

Parameters

lpClipRect

Pointer to a RECT structure or a CRect object to receive the clipping-rectangle coordinates of the item.

Remarks

Call the GetItemClipRect member function to get the clipping-rectangle coordinates of the item that is being edited in place. Coordinates are in pixels relative to the container application window’s client area.

Drawing should not occur outside the clipping rectangle. Usually, drawing is automatically restricted. Use this function to determine whether the user has scrolled outside the visible portion of the document; if so, scroll the container document as needed by means of a call to ScrollContainerBy.

COleServerDoc OverviewClass MembersHierarchy Chart

See Also   COleServerDoc::GetItemPosition, COleServerDoc::ScrollContainerBy