This documentation is archived and is not being maintained.

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.

See Also

CListCtrl Overview | Class Members | Hierarchy Chart | CListCtrl::GetItemPosition | CListCtrl::SetItemPosition

Show: