COleServerDoc::ScrollContainerBy

Call the ScrollContainerBy member function to scroll the container document by the amount, in pixels, indicated by sizeScroll.

BOOL ScrollContainerBy( 
   CSize sizeScroll  
);

Parameters

  • sizeScroll
    Indicates how far the container document is to scroll.

Return Value

Nonzero if successful; otherwise 0.

Remarks

Positive values indicate scrolling down and to the right; negative values indicate scrolling up and to the left.

Requirements

Header: afxole.h

See Also

Reference

COleServerDoc Class

Hierarchy Chart

COleClientItem::OnScrollBy

Other Resources

COleServerDoc Members