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


IOleInPlaceObjectWindowlessImpl::SetObjectRects

Called by the container to inform the control that its size and/or position has changed.

HRESULT SetObjectRects(
   LPCRECT prcPos,
   LPCRECT prcClip 
);

Заметки

Updates the control's m_rcPos data member and the control display. Only the part of the control that intersects the clip region is displayed. If a control's display was previously clipped but the clipping has been removed, this function can be called to redraw a full view of the control.

See IOleInPlaceObject::SetObjectRects in the Windows SDK.

Требования

Header: atlctl.h

См. также

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

IOleInPlaceObjectWindowlessImpl Class

IOleInPlaceObjectWindowlessImpl Members

CComControlBase::m_rcPos