CListCtrl::GetOrigin

 

Retrieves the current view origin for a list view control.

Syntax

      BOOL GetOrigin(
   LPPOINT lpPoint 
) const;

Parameters

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

Return Value

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

Requirements

Header: afxcmn.h

See Also

CListCtrl Class
Hierarchy Chart
CListCtrl::GetItemPosition
CListCtrl::SetItemPosition