Click here to Skip to main content
15,885,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 7:26
PotatoSoup6-Apr-20 7:26 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Victor Nijegorodov6-Apr-20 8:24
Victor Nijegorodov6-Apr-20 8:24 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 8:43
PotatoSoup6-Apr-20 8:43 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Victor Nijegorodov6-Apr-20 8:49
Victor Nijegorodov6-Apr-20 8:49 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 11:07
PotatoSoup6-Apr-20 11:07 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
leon de boer6-Apr-20 21:06
leon de boer6-Apr-20 21:06 
SuggestionRe: How do I add listboxes to a back buffer and use that? Pin
David Crow6-Apr-20 8:59
David Crow6-Apr-20 8:59 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 11:31
PotatoSoup6-Apr-20 11:31 
"sounds kludgy" is a start. I can accept that as the beginning of a suggested answer.

I can multi-thread. If you are saying that you know of how to solve this by multi-threading and thus placing a window that is (in this example) a listbox (or some other generic window) to a back buffer, I am ready for that instruction. If you simply did not read my original question and then fired off a general cutting response with no valid logic, then I can understand that and it is ok. I have scanned and responded wrongly myself a few times. If you have a valid solution keeping to answering my first post, then I am ready to read it. If you can this with multi-threading, then please tell me how.

I found this lag in someone else's program that I had nothing to do with coding. I do not recall seeing it in any of my current programs that I wrote. Their program is a really nicely written program that does a lot of things well. But, when their program is running and at the same time some other huge programs (plural) with intense cpu use and intense memory use are running, then I saw a lag that was enough for me to see postings of sections of their program to the screen.

If someone is running my programs then however intense the cpu and memory usage is by any other running programs, I do not want the user to see any lag of sections of my main window being put to the screen. I would prefer that my programs get its work done building a screen buffer before placing anything to the screen.

Thank you for asking.
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Greg Utas6-Apr-20 12:39
professionalGreg Utas6-Apr-20 12:39 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 12:52
PotatoSoup6-Apr-20 12:52 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Greg Utas6-Apr-20 12:55
professionalGreg Utas6-Apr-20 12:55 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 18:58
PotatoSoup6-Apr-20 18:58 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Greg Utas7-Apr-20 0:05
professionalGreg Utas7-Apr-20 0:05 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Victor Nijegorodov6-Apr-20 20:42
Victor Nijegorodov6-Apr-20 20:42 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Member 1507871612-Jul-22 14:20
Member 1507871612-Jul-22 14:20 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Richard MacCutchan6-Apr-20 21:42
mveRichard MacCutchan6-Apr-20 21:42 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup9-Apr-20 8:50
PotatoSoup9-Apr-20 8:50 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Victor Nijegorodov9-Apr-20 22:12
Victor Nijegorodov9-Apr-20 22:12 
AnswerRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 11:59
PotatoSoup6-Apr-20 11:59 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
leon de boer6-Apr-20 20:42
leon de boer6-Apr-20 20:42 
AnswerRe: How do I add listboxes to a back buffer and use that? Pin
leon de boer6-Apr-20 20:31
leon de boer6-Apr-20 20:31 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup7-Apr-20 18:08
PotatoSoup7-Apr-20 18:08 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
leon de boer7-Apr-20 19:05
leon de boer7-Apr-20 19:05 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Richard MacCutchan7-Apr-20 21:58
mveRichard MacCutchan7-Apr-20 21:58 
QuestionRe: How do I add listboxes to a back buffer and use that? Pin
David Crow8-Apr-20 1:58
David Crow8-Apr-20 1:58 

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.