Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Disabling display of ListView control items

Posted on 1998-07-22
1
Medium Priority
?
196 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 400 total points
ID: 1168382
Use LockWindowUpdate
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

877 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