Click here to Skip to main content
15,888,579 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
reshi9991-Feb-11 0:32
reshi9991-Feb-11 0:32 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
franva1-Feb-11 0:55
franva1-Feb-11 0:55 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
Chesnokov Yuriy1-Feb-11 1:03
professionalChesnokov Yuriy1-Feb-11 1:03 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
Matthew Barnett1-Feb-11 1:17
Matthew Barnett1-Feb-11 1:17 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
Chesnokov Yuriy1-Feb-11 1:24
professionalChesnokov Yuriy1-Feb-11 1:24 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
loyal ginger1-Feb-11 2:36
loyal ginger1-Feb-11 2:36 
AnswerRe: How to load 100,000 list view items without application freeze? Pin
237412-Feb-11 7:25
237412-Feb-11 7:25 
QuestionHow to save image in folder using c# in windows application Pin
Member 368638531-Jan-11 2:37
Member 368638531-Jan-11 2:37 
AnswerRe: How to save image in folder using c# in windows application Pin
Praveen Raghuvanshi31-Jan-11 2:42
professionalPraveen Raghuvanshi31-Jan-11 2:42 
QuestionPlease Reply to me... Pin
Member 368638531-Jan-11 2:30
Member 368638531-Jan-11 2:30 

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.