Share via


CListCtrl::GetOrigin

Retrieves the current view origin for a list view control.

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

Reference

CListCtrl Class

Hierarchy Chart

CListCtrl::GetItemPosition

CListCtrl::SetItemPosition