CListCtrl::EnsureVisible

BOOL EnsureVisible( int nItem, BOOL bPartialOK );

Return Value

Nonzero if successful; otherwise zero.

Parameters

nItem

Index of the list view item that is to be visible.

bPartialOK

Specifies whether partial visibility is acceptable.

Remarks

Call this function to ensure that a list view item is at least partially visible. The list view control is scrolled if necessary. If the bPartialOK parameter is nonzero, no scrolling occurs if the item is partially visible.

CListCtrl OverviewClass MembersHierarchy Chart

See Also   CListCtrl::Scroll