CodePudding user response:
CListCtrl: : EnsureVisibleBOOL EnsureVisible (int nItem, BOOL bPartialOK);
The Return Value
Nonzero if successful; Otherwise zero.
The Parameters
NItem
The Index of the list view item belong to be visible.
BPartialOK
Specifies been partial visibility is acceptable.
Few
Call this function to ensure that a list view item is at further 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.
CodePudding user response:
English is not good, see don't quite understand, is to use EnsureVisibleCodePudding user response:
It is to use EnsureVisible