Click here to Skip to main content
14,693,634 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: void type Pin
Greg Utas12-Apr-20 1:20
professionalGreg Utas12-Apr-20 1:20 
GeneralRe: void type Pin
leon de boer11-Apr-20 22:51
Memberleon de boer11-Apr-20 22:51 
GeneralRe: void type Pin
CalinNegru(fearless_)11-Apr-20 22:47
MemberCalinNegru(fearless_)11-Apr-20 22:47 
QuestionHow do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 6:57
MemberPotatoSoup6-Apr-20 6:57 
AnswerRe: How do I add listboxes to a back buffer and use that? Pin
Richard MacCutchan6-Apr-20 7:21
mveRichard MacCutchan6-Apr-20 7:21 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 7:46
MemberPotatoSoup6-Apr-20 7:46 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Richard MacCutchan6-Apr-20 8:04
mveRichard MacCutchan6-Apr-20 8:04 
A ListBox is just a Window, so if you call ShowWindow using its handle, then it may cover part of your main window. That in turn will receive a WM_PAINT message and redraw itself, which may well have the effect of hiding the ListBox. I am really having difficulty understanding what you are trying to do here. The most common use of ListBoxes is as part of a DialogBox, or CFormView. If you want it as part of your MainWindow then you need to add it into the client zone, and not overwrite it with the main window.
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 8:26
MemberPotatoSoup6-Apr-20 8:26 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Victor Nijegorodov6-Apr-20 9:24
MemberVictor Nijegorodov6-Apr-20 9:24 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 9:43
MemberPotatoSoup6-Apr-20 9:43 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Victor Nijegorodov6-Apr-20 9:49
MemberVictor Nijegorodov6-Apr-20 9:49 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 12:07
MemberPotatoSoup6-Apr-20 12:07 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
leon de boer6-Apr-20 22:06
Memberleon de boer6-Apr-20 22:06 
SuggestionRe: How do I add listboxes to a back buffer and use that? Pin
David Crow6-Apr-20 9:59
MemberDavid Crow6-Apr-20 9:59 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 12:31
MemberPotatoSoup6-Apr-20 12:31 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Greg Utas6-Apr-20 13:39
professionalGreg Utas6-Apr-20 13:39 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 13:52
MemberPotatoSoup6-Apr-20 13:52 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Greg Utas6-Apr-20 13:55
professionalGreg Utas6-Apr-20 13:55 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 19:58
MemberPotatoSoup6-Apr-20 19:58 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Greg Utas7-Apr-20 1:05
professionalGreg Utas7-Apr-20 1:05 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Victor Nijegorodov6-Apr-20 21:42
MemberVictor Nijegorodov6-Apr-20 21:42 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Richard MacCutchan6-Apr-20 22:42
mveRichard MacCutchan6-Apr-20 22:42 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup9-Apr-20 9:50
MemberPotatoSoup9-Apr-20 9:50 
GeneralRe: How do I add listboxes to a back buffer and use that? Pin
Victor Nijegorodov9-Apr-20 23:12
MemberVictor Nijegorodov9-Apr-20 23:12 
AnswerRe: How do I add listboxes to a back buffer and use that? Pin
PotatoSoup6-Apr-20 12:59
MemberPotatoSoup6-Apr-20 12:59 

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.