MvcScrollView_T::OnScrollBy

BOOLMvcScrollView_T::OnScrollBy(CSizesizeScroll, BOOLbDoScroll= 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.