COleClientItem::OnChangeItemPosition

virtual BOOL OnChangeItemPosition( const CRect& rectPos );

Return Value

Nonzero if the item’s position is successfully changed; otherwise 0.

Parameters

rectPos

Indicates the item’s position relative to the container application’s client area.

Remarks

Called by the framework to notify the container that the OLE item’s extent has changed during in-place activation. The default implementation determines the new visible rectangle of the OLE item and calls SetItemRects with the new values. The default implementation calculates the visible rectangle for the item and passes that information to the server.

Override this function to apply special rules to the resize/move operation. If the application is written in MFC, this call results because the server called COleServerDoc::RequestPositionChange.

COleClientItem OverviewClass MembersHierarchy Chart

See Also   COleServerDoc::RequestPositionChange