Поделиться через


COleServerDoc::GetItemClipRect

Call the GetItemClipRect member function to get the clipping-rectangle coordinates of the item that is being edited in place.

void GetItemClipRect(
   LPRECT lpClipRect 
) const;

Параметры

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

Заметки

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.

Требования

Header: afxole.h

См. также

Основные понятия

COleServerDoc Class

COleServerDoc Members

Hierarchy Chart

COleServerDoc::GetItemPosition

COleServerDoc::ScrollContainerBy