COleClientItem::OnGetClipRect

The framework calls the OnGetClipRect member function to get the clipping-rectangle coordinates of the item that is being edited in place.

virtual void OnGetClipRect(
   CRect& rClipRect 
);

Parameters

  • rClipRect
    Pointer to an object of class CRect that will hold the clipping-rectangle coordinates of the item.

Remarks

Coordinates are in pixels relative to the container application window's client area.

The default implementation simply returns the client rectangle of the view on which the item is in-place active.

Requirements

Header: afxole.h

See Also

Concepts

COleClientItem Class

COleClientItem Members

Hierarchy Chart

COleClientItem::OnActivate