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


CListCtrl::GetOrigin

Retrieves the current view origin for a list view control.

BOOL GetOrigin(
   LPPOINT lpPoint 
) const;

Параметры

  • lpPoint
    Address of a POINT structure that receives the view origin.

Возвращаемое значение

Nonzero if successful; otherwise zero. However, if the control is in report view, the return value is always zero.

Требования

Header: afxcmn.h

См. также

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

CListCtrl Class

CListCtrl Members

Hierarchy Chart

CListCtrl::GetItemPosition

CListCtrl::SetItemPosition