Поделиться через


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

См. также

Основные понятия

CListCtrl Class

CListCtrl Members

Hierarchy Chart

CListCtrl::EnsureVisible