Solved

Disabling display of ListView control items

Posted on 1998-07-22
1
192 Views
Last Modified: 2010-04-10
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?
0
Comment
Question by:rascal
1 Comment
 
LVL 8

Accepted Solution

by:
MikeP090797 earned 100 total points
ID: 1168382
Use LockWindowUpdate
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question