Udostępnij za pośrednictwem


COleServerDoc::RequestPositionChange

Call this member function to have the container application change the item's position.

void RequestPositionChange(
   LPCRECT lpPosRect 
);

Parameters

  • lpPosRect
    Pointer to a RECT structure or a CRect object containing the item's new position.

Remarks

This function is usually called (in conjunction with UpdateAllItems) when the data in an in-place active item has changed. Following this call, the container might or might not perform the change by calling OnSetItemRects. The resulting position might be different from the one requested.

Requirements

Header: afxole.h

See Also

Reference

COleServerDoc Class

Hierarchy Chart

COleServerDoc::ScrollContainerBy

Other Resources

COleServerDoc Members