Home > Software engineering >  Duilib library list controls how to implement paging effect
Duilib library list controls how to implement paging effect

Time:02-11

Point a bit idea, implement each page shows a fixed number of the item, the item according to the number below, display the page number, 1, 2, n pages in this way,

CodePudding user response:

Is CListCtrl: : SetItemText () to reset the data again, each page shows article 10 data, for example, the first page shows 1 ~ 10 data content, click on the second page, with 11 ~ 20 data updates the current control,

So it is with this common CListCtrl controls, duilib library is not clear, used to

CodePudding user response:

This way I also thought of, now as a backup plan, feeling better or should be encapsulated into the list, is said to be a listfoot,,
  • Related