Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
MFC
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

CListCtrl::Scroll

Scrolls the content of a list view control.

BOOL Scroll( 
   CSize size  
);

size

A CSize object specifying the amount of horizontal and vertical scrolling, in pixels. The y member of size is divided by the height, in pixels, of the list view control's line, and the control is scrolled by the resulting number of lines.

Nonzero if successful; otherwise zero.

Header: afxcmn.h

Community Additions

ADD
Show:
© 2015 Microsoft