MvcScrollView_T::OnScrollBy

BOOL MvcScrollView_T::OnScrollBy(CSize sizeScroll, BOOL bDoScroll = TRUE)

Called by MFC framework to scroll the view.

Defined in: MvcScrollView.h

Return Value

TRUE if view scrolled; otherwise FALSE.

Parameters

sizeScroll

Horizontal and vertical offset to scroll.

Comments

Overrides OnScrollBy in CScrollView in order to prevent the window from scrolling. This function is identical to OnScrollBy in CScrollView, except that the call to CWnd::ScrollWindow has been removed.

bDoScroll

Indicates if scroll should actually be performed.