Click here to Skip to main content
14,580,143 members

C / C++ / MFC

 
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
MemberPotatoSoup6-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
MemberVictor Nijegorodov6-Apr-20 20:42 
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
MemberPotatoSoup9-Apr-20 8:50 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Victor Nijegorodov9-Apr-20 22:12
MemberVictor Nijegorodov9-Apr-20 22:12 
AnswerRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 11:59
MemberPotatoSoup6-Apr-20 11:59 
I am thinking about forcing the effect to get past my not knowing how to buffer a created (or subclassed) window, in this case a simple listbox.

I would like some valid comments on what I am thinking about trying next.

When the listbox's (it is just an example of a generic window) information changes, do a screen capture of the listbox.

Then when my main window changes, bitblt that screen-captured listbox to the buffer that I build before replacing the main window to the screen.

I do not want to do it this way.

I am concerned that I might have to create a new listbox window each time that I need to update the listbox and I do not want to have to do that. If the listbox is rarely updated then this might not be so bad, but if the listbox is updated often then that might mean creating a new window for the listbox often. I really do not want to do that. And, as you have noticed (hopefully) this is not about a listbox only. It is about any window like it, just that I am using a listbox as an example.

I am looking for valid observations and valid suggestions.

Please.

I think that David Crow's suggestion was actually valid. Maybe I read his response too quickly and dismissed it too quickly. Sorry. I think that, in a dedicated thread, I can do a screen capture of just the part of the screen where the listbox is and save that for when it is needed. Thanks David Crow.

modified 6-Apr-20 18:20pm.

GeneralRe: How do I add listboxes to a back buffer and use that? Pin
leon de boer6-Apr-20 20:42
Memberleon 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
Memberleon 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
MemberPotatoSoup7-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
Memberleon 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
MemberDavid Crow8-Apr-20 1:58 
AnswerRe: How do I add listboxes to a back buffer and use that? Pin
leon de boer8-Apr-20 4:03
Memberleon de boer8-Apr-20 4:03 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
David Crow8-Apr-20 4:25
MemberDavid Crow8-Apr-20 4:25 
Questionbasic MFC app Pin
CalinNegru6-Apr-20 0:30
MemberCalinNegru6-Apr-20 0:30 
AnswerRe: basic MFC app Pin
Richard MacCutchan6-Apr-20 0:49
mveRichard MacCutchan6-Apr-20 0:49 
GeneralRe: basic MFC app Pin
CalinNegru6-Apr-20 1:02
MemberCalinNegru6-Apr-20 1:02 
GeneralRe: basic MFC app Pin
Richard MacCutchan6-Apr-20 1:49
mveRichard MacCutchan6-Apr-20 1:49 
AnswerRe: basic MFC app Pin
Victor Nijegorodov6-Apr-20 3:07
MemberVictor Nijegorodov6-Apr-20 3:07 
AnswerRe: basic MFC app Pin
Victor Nijegorodov6-Apr-20 3:17
MemberVictor Nijegorodov6-Apr-20 3:17 
GeneralRe: basic MFC app Pin
CalinNegru6-Apr-20 3:46
MemberCalinNegru6-Apr-20 3:46 
GeneralRe: basic MFC app Pin
Richard MacCutchan6-Apr-20 3:58
mveRichard MacCutchan6-Apr-20 3:58 
GeneralRe: basic MFC app Pin
CalinNegru6-Apr-20 20:52
MemberCalinNegru6-Apr-20 20:52 

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.