MvcScrollView_T::DoScrollViewport

void MvcScrollView_T::DoScrollViewport(CPoint ptScrollPos)

Scrolls the embedded viewport in response to WM_xSCROLL or WM_SIZE messages

Defined in: MvcScrollView.h

Return Value

void

Parameters

ptScrollPos

The current scroll position, in logical units

Comments

To keep the scroll view and embedded viewport in sync, the logical origin of the viewport is scrolled to match the CScrollView.