Home > Software engineering >  The List control display problems
The List control display problems

Time:09-18

I use setitemtext write data when the data comparison, the progress bar to work, but can't show to the below new data, I ask, how to solve, thank you

CodePudding user response:

CListCtrl: : EnsureVisible
BOOL 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 EnsureVisible

CodePudding user response:

It is to use EnsureVisible
  • Related