CListCtrl::GetItemRect

BOOL GetItemRect( int nItem, LPRECT lpRect, UINT nCode ) const;

Return Value

Nonzero if successful; otherwise zero.

Parameters

nItem

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

lpRect

Address of a RECT structure that receives the bounding rectangle.

nCode

Portion of the list view item for which to retrieve the bounding rectangle. It can be one of these values:

Remarks

Retrieves the bounding rectangle for all or part of an item in the current view.

CListCtrl OverviewClass MembersHierarchy Chart

See Also   CListCtrl::GetItemPosition, CListCtrl::SetItemPosition, CListCtrl::GetOrigin