COleControl::OnSetObjectRects
Called by the framework to implement a call to IOleInPlaceObject::SetObjectRects.
virtual BOOL OnSetObjectRects(
LPCRECT lpRectPos,
LPCRECT lpRectClip
);
Параметры
lpRectPos
A pointer to a RECT structure indicating the control's new position and size relative to the container.lpRectClip
A pointer to a RECT structure indicating a rectangular area to which the control is to be clipped.
Возвращаемое значение
Nonzero if the repositioning was accepted; otherwise 0.
Заметки
The default implementation automatically handles the repositioning and resizing of the control window and returns TRUE.
Override this function to alter the default behavior of this function.
Требования
Header: afxctl.h