CListCtrl::Scroll
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

CListCtrl::Scroll

Scrolls the content of a list view control.

BOOL Scroll(
   CSize size 
);

Parameters

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.

Return Value

Nonzero if successful; otherwise zero.

See Also

CListCtrl Overview | Class Members | Hierarchy Chart | CListCtrl::EnsureVisible

Show:
© 2016 Microsoft