Solved

Disabling display of ListView control items

Posted on 1998-07-22
1
181 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
Comment Utility
Use LockWindowUpdate
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
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 user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now