Click here to Skip to main content
15,902,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: spamassassin(execute another process not executing) Pin
David Crow12-Jun-07 7:05
David Crow12-Jun-07 7:05 
AnswerRe: spamassassin(execute another process not executing) Pin
_tasleem12-Jun-07 9:43
_tasleem12-Jun-07 9:43 
QuestionRe: spamassassin(execute another process not executing) Pin
David Crow12-Jun-07 10:26
David Crow12-Jun-07 10:26 
AnswerRe: spamassassin(execute another process not executing) Pin
_tasleem13-Jun-07 3:45
_tasleem13-Jun-07 3:45 
QuestionRe: spamassassin(execute another process not executing) Pin
David Crow13-Jun-07 3:52
David Crow13-Jun-07 3:52 
QuestionList ctrl blinking items problem Pin
eli1502197912-Jun-07 6:28
eli1502197912-Jun-07 6:28 
AnswerRe: List ctrl blinking items problem [modified] Pin
Max Santos12-Jun-07 7:12
Max Santos12-Jun-07 7:12 
AnswerRe: List ctrl blinking items problem Pin
Mark Salsbery12-Jun-07 8:13
Mark Salsbery12-Jun-07 8:13 
As Max mentioned, populating list view controls is expensive.

Even more so the way you are adding items - 3 updates for each item.

If you use a "virtual list-view" (one that has the LVS_OWNERDATA style) then you can store each
item's info in a collection of some kind and do all your processing in the background.
The only time the list view has to change is when items are added or removed (so the total number
of items in the control is always the same as the number of items in the collection).
After each update of the contents, just a repaint of the control would be necessary.

Mark


"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

GeneralRe: List ctrl blinking items problem Pin
eli1502197912-Jun-07 19:54
eli1502197912-Jun-07 19:54 
GeneralRe: List ctrl blinking items problem Pin
Mark Salsbery12-Jun-07 22:03
Mark Salsbery12-Jun-07 22:03 
QuestionGarbage in String Pin
Programm3r12-Jun-07 6:10
Programm3r12-Jun-07 6:10 
AnswerRe: Garbage in String Pin
David Crow12-Jun-07 6:51
David Crow12-Jun-07 6:51 
QuestionRe: Garbage in String Pin
Programm3r12-Jun-07 7:27
Programm3r12-Jun-07 7:27 
QuestionRe: Garbage in String Pin
David Crow12-Jun-07 7:33
David Crow12-Jun-07 7:33 
GeneralRe: Garbage in String Pin
Programm3r12-Jun-07 7:49
Programm3r12-Jun-07 7:49 
AnswerRe: Garbage in String Pin
toxcct12-Jun-07 16:30
toxcct12-Jun-07 16:30 
QuestionDraggable objects Pin
Perspx12-Jun-07 5:55
Perspx12-Jun-07 5:55 
Questionmicrosoft forms 2.0 textbox Pin
attiass12-Jun-07 5:35
attiass12-Jun-07 5:35 
QuestionSelect a row in List control with code? Pin
ldsdbomber12-Jun-07 4:35
ldsdbomber12-Jun-07 4:35 
AnswerRe: Select a row in List control with code? Pin
David Crow12-Jun-07 4:48
David Crow12-Jun-07 4:48 
GeneralRe: Select a row in List control with code? Pin
ldsdbomber12-Jun-07 4:57
ldsdbomber12-Jun-07 4:57 
GeneralRe: Select a row in List control with code? Pin
David Crow12-Jun-07 5:04
David Crow12-Jun-07 5:04 
GeneralRe: Select a row in List control with code? Pin
Max Santos12-Jun-07 6:07
Max Santos12-Jun-07 6:07 
AnswerRe: Select a row in List control with code? Pin
Michael Dunn12-Jun-07 6:18
sitebuilderMichael Dunn12-Jun-07 6:18 
Questionwizard finish button and message box Pin
misha_grewal12-Jun-07 3:44
misha_grewal12-Jun-07 3:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.