Click here to Skip to main content
15,921,959 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to load 100,000 list view items without application freeze? Pin
Euhemerus1-Feb-11 6:52
Euhemerus1-Feb-11 6:52 
GeneralRe: How to load 100,000 list view items without application freeze? Pin
Dave Kreskowiak1-Feb-11 12:23
mveDave Kreskowiak1-Feb-11 12:23 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
Richard MacCutchan31-Jan-11 4:05
mveRichard MacCutchan31-Jan-11 4:05 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
Chesnokov Yuriy31-Jan-11 6:43
professionalChesnokov Yuriy31-Jan-11 6:43 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
Luc Pattyn31-Jan-11 4:13
sitebuilderLuc Pattyn31-Jan-11 4:13 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
Chesnokov Yuriy31-Jan-11 6:49
professionalChesnokov Yuriy31-Jan-11 6:49 
GeneralRe: How to load 100,000 list view items without application freeze? Pin
Luc Pattyn31-Jan-11 6:57
sitebuilderLuc Pattyn31-Jan-11 6:57 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
Chesnokov Yuriy31-Jan-11 7:03
professionalChesnokov Yuriy31-Jan-11 7:03 
QuestionRe: How to load 100,000 list view items without application freeze? Pin
Chesnokov Yuriy31-Jan-11 6:53
professionalChesnokov Yuriy31-Jan-11 6:53 
GeneralRe: How to load 100,000 list view items without application freeze? Pin
Chesnokov Yuriy31-Jan-11 6:55
professionalChesnokov Yuriy31-Jan-11 6:55 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
Paw Jershauge31-Jan-11 9:00
Paw Jershauge31-Jan-11 9:00 
GeneralRe: How to load 100,000 list view items without application freeze? Pin
Richard MacCutchan31-Jan-11 9:15
mveRichard MacCutchan31-Jan-11 9:15 
GeneralRe: How to load 100,000 list view items without application freeze? Pin
Paw Jershauge31-Jan-11 12:18
Paw Jershauge31-Jan-11 12:18 
QuestionRe: How to load 100,000 list view items without application freeze? Pin
Chesnokov Yuriy1-Feb-11 1:14
professionalChesnokov Yuriy1-Feb-11 1:14 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
Richard MacCutchan1-Feb-11 3:17
mveRichard MacCutchan1-Feb-11 3:17 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
Chesnokov Yuriy31-Jan-11 10:00
professionalChesnokov Yuriy31-Jan-11 10:00 
GeneralRe: How to load 100,000 list view items without application freeze? Pin
Paw Jershauge31-Jan-11 12:17
Paw Jershauge31-Jan-11 12:17 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
Chesnokov Yuriy1-Feb-11 1:10
professionalChesnokov Yuriy1-Feb-11 1:10 
Great, thanks, virtual mode is of value to handle large lists especially with large icons.
I will use it from now for those purpouses.

However I presume I will not be able to use virtual view for log event because the list with those events is not static.
There are many threads which use global logger class to report events. They are stored in a queue and once queue limit exceeds some constant 100,000 previous one is dequeued.
Log event addition is safe with lock.

It is possible that in virtual list view between RetrieveVirtualItem() calls threads may report dozens of new events, queue will move and it will end up of showing the same or odd events several times.
Чесноков

GeneralRe: How to load 100,000 list view items without application freeze? Pin
Paw Jershauge1-Feb-11 8:32
Paw Jershauge1-Feb-11 8:32 
GeneralRe: How to load 100,000 list view items without application freeze? Pin
Paw Jershauge1-Feb-11 8:38
Paw Jershauge1-Feb-11 8:38 
GeneralRe: How to load 100,000 list view items without application freeze? Pin
Not Active31-Jan-11 12:18
mentorNot Active31-Jan-11 12:18 
GeneralRe: How to load 100,000 list view items without application freeze? Pin
Member 16746131-Jan-11 23:47
Member 16746131-Jan-11 23:47 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
Chesnokov Yuriy1-Feb-11 1:12
professionalChesnokov Yuriy1-Feb-11 1:12 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
Umbaraumba31-Jan-11 23:52
Umbaraumba31-Jan-11 23:52 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
vsysolts31-Jan-11 23:54
vsysolts31-Jan-11 23:54 

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.