Freigeben über


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

Concepts

COleServerDoc Class

COleServerDoc Members

Hierarchy Chart

COleClientItem::OnScrollBy