Disabling display of ListView control items

I have an SDI app with a CListView view and I would like to disable the display of the first x records as I add them to the list control. I have tried using the CListView::SetRedraw(FALSE) function as well as fetching the list control (GetListCtrl()) and using SetRedraw(FALSE) on that as well but the records continue to appear in the list as soon as I add them.
Can you suggest a way I can inhibit the display of ListView items as they are added?
LVL 1
rascalAsked:
Who is Participating?
 
MikeP090797Connect With a Mentor Commented:
Use LockWindowUpdate
0
All Courses

From novice to tech pro — start learning today.