CListCtrl::GetItemPosition

BOOL GetItemPosition( int nItem, LPPOINT lpPoint ) const;

Return Value

Nonzero if successful; otherwise zero.

Parameters

nItem

The index of the item whose position is to be retrieved.

lpPoint

Address of a POINT structure that receives the position of the item’s upper-left corner, in view coordinates.

Remarks

Retrieves the position of a list view item.

CListCtrl OverviewClass MembersHierarchy Chart

See Also   CListCtrl::SetItemPosition, CListCtrl::GetOrigin