Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: draw lines on desktop help!! Pin
Richard MacCutchan16-Jun-11 22:57
mveRichard MacCutchan16-Jun-11 22:57 
GeneralRe: draw lines on desktop help!! Pin
so0_lanhlung216-Jun-11 23:01
so0_lanhlung216-Jun-11 23:01 
GeneralRe: draw lines on desktop help!! Pin
Richard MacCutchan16-Jun-11 23:53
mveRichard MacCutchan16-Jun-11 23:53 
AnswerRe: draw lines on desktop help!! Pin
Albert Holguin17-Jun-11 3:43
professionalAlbert Holguin17-Jun-11 3:43 
GeneralRe: draw lines on desktop help!! Pin
so0_lanhlung217-Jun-11 17:41
so0_lanhlung217-Jun-11 17:41 
GeneralRe: draw lines on desktop help!! Pin
Albert Holguin17-Jun-11 20:59
professionalAlbert Holguin17-Jun-11 20:59 
QuestionMemory increases while inserting items in list Pin
VCProgrammer15-Jun-11 21:38
VCProgrammer15-Jun-11 21:38 
AnswerRe: Memory increases while inserting items in list Pin
JV999915-Jun-11 22:16
professionalJV999915-Jun-11 22:16 
Your memory will obvouisly grow when working with data since all this memory is most likely read into the memory, so nothing strange there in my opinion. However you are loading 50.000! items in a list and that is a bad practise for several reasons:

1) Performance, it slows down the application because it has to load 50000 items at once
2) Usability, A user will not be happy scrolling through 50.000 items. Give them filtering and paging
3) Memory, 50.000 items can consume a lot of memory.

So my suggestion: Limit the amount of data by implementing paging (somewhere between 20 and 50 items each time) and filtering.
GeneralRe: Memory increases while inserting items in list Pin
Stefan_Lang15-Jun-11 23:02
Stefan_Lang15-Jun-11 23:02 
GeneralRe: Memory increases while inserting items in list Pin
JV999915-Jun-11 23:15
professionalJV999915-Jun-11 23:15 
AnswerRe: Memory increases while inserting items in list [modified] Pin
Stefan_Lang15-Jun-11 22:29
Stefan_Lang15-Jun-11 22:29 
AnswerRe: Memory increases while inserting items in list Pin
Maximilien15-Jun-11 23:59
Maximilien15-Jun-11 23:59 
AnswerRe: Memory increases while inserting items in list Pin
Chris Losinger16-Jun-11 3:41
professionalChris Losinger16-Jun-11 3:41 
JokeRe: Memory increases while inserting items in list Pin
Richard MacCutchan16-Jun-11 4:54
mveRichard MacCutchan16-Jun-11 4:54 
GeneralRe: Memory increases while inserting items in list Pin
Niklas L16-Jun-11 8:06
Niklas L16-Jun-11 8:06 
GeneralRe: Memory increases while inserting items in list Pin
Rhuros16-Jun-11 22:04
professionalRhuros16-Jun-11 22:04 
QuestionRe: Memory increases while inserting items in list Pin
David Crow16-Jun-11 8:00
David Crow16-Jun-11 8:00 
Question[Win32]Set bitmap to button Pin
Member 296547115-Jun-11 8:14
Member 296547115-Jun-11 8:14 
AnswerRe: [Win32]Set bitmap to button Pin
Chris Losinger15-Jun-11 8:23
professionalChris Losinger15-Jun-11 8:23 
GeneralRe: [Win32]Set bitmap to button Pin
Member 296547115-Jun-11 8:28
Member 296547115-Jun-11 8:28 
GeneralRe: [Win32]Set bitmap to button Pin
Chris Losinger15-Jun-11 8:33
professionalChris Losinger15-Jun-11 8:33 
GeneralRe: [Win32]Set bitmap to button Pin
Member 296547115-Jun-11 9:01
Member 296547115-Jun-11 9:01 
GeneralRe: [Win32]Set bitmap to button Pin
Richard MacCutchan15-Jun-11 21:15
mveRichard MacCutchan15-Jun-11 21:15 
GeneralRe: [Win32]Set bitmap to button Pin
Member 296547115-Jun-11 22:34
Member 296547115-Jun-11 22:34 
GeneralRe: [Win32]Set bitmap to button [modified] Pin
Richard MacCutchan16-Jun-11 3:22
mveRichard MacCutchan16-Jun-11 3:22 

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.