Click here to Skip to main content
15,921,577 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Add text to listbox using sendmessage, i'm baffled, c++ win32 Pin
Wes Aday7-Feb-12 10:58
professionalWes Aday7-Feb-12 10:58 
GeneralNo it's not a typo Pin
jkirkerx7-Feb-12 11:31
professionaljkirkerx7-Feb-12 11:31 
GeneralRe: No it's not a typo Pin
Wes Aday7-Feb-12 11:55
professionalWes Aday7-Feb-12 11:55 
GeneralRe: No it's not a typo Pin
jkirkerx7-Feb-12 12:12
professionaljkirkerx7-Feb-12 12:12 
QuestionRe: Add text to listbox using sendmessage, i'm baffled, c++ win32 Pin
David Crow8-Feb-12 4:19
David Crow8-Feb-12 4:19 
AnswerRe: Add text to listbox using sendmessage, i'm baffled, c++ win32 Pin
jkirkerx8-Feb-12 6:17
professionaljkirkerx8-Feb-12 6:17 
AnswerNow it works, strange or I get it now Pin
jkirkerx8-Feb-12 7:22
professionaljkirkerx8-Feb-12 7:22 
AnswerRe: Now it works, strange or I get it now Pin
David Crow8-Feb-12 8:07
David Crow8-Feb-12 8:07 
My theory:

ES_LEFT resolves to 0 and ES_MULTILINE resolves to 4. When you were using a combobox, a value of 4 was the same as CBS_DROPDOWNLIST|CBS_SIMPLE. When you were using a listbox, a value of 4 was the same as LBS_NOREDRAW. So, the items were likely being added to the listbox but since redraw was turned off, you could not see them.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous


GeneralRe: Now it works, strange or I get it now Pin
jkirkerx8-Feb-12 9:46
professionaljkirkerx8-Feb-12 9:46 
QuestionVirualiztion concept for Client Server windows application Pin
D.Manivelan6-Feb-12 20:00
D.Manivelan6-Feb-12 20:00 
AnswerRe: Virualiztion concept for Client Server windows application Pin
Albert Holguin6-Feb-12 21:40
professionalAlbert Holguin6-Feb-12 21:40 
GeneralRe: Virualiztion concept for Client Server windows application Pin
Nicolas Dorier7-Feb-12 0:24
professionalNicolas Dorier7-Feb-12 0:24 
GeneralRe: Virualiztion concept for Client Server windows application Pin
Jochen Arndt7-Feb-12 0:48
professionalJochen Arndt7-Feb-12 0:48 
SuggestionRe: Virualiztion concept for Client Server windows application Pin
Albert Holguin8-Feb-12 10:51
professionalAlbert Holguin8-Feb-12 10:51 
AnswerRe: Virualiztion concept for Client Server windows application Pin
Stefan_Lang9-Feb-12 1:28
Stefan_Lang9-Feb-12 1:28 
QuestionMultiple monitor support for MFC application Pin
Ashish Ranjan Mishra6-Feb-12 14:19
Ashish Ranjan Mishra6-Feb-12 14:19 
AnswerRe: Multiple monitor support for MFC application Pin
Albert Holguin6-Feb-12 16:43
professionalAlbert Holguin6-Feb-12 16:43 
GeneralRe: Multiple monitor support for MFC application Pin
Ashish Ranjan Mishra7-Feb-12 16:03
Ashish Ranjan Mishra7-Feb-12 16:03 
AnswerRe: Multiple monitor support for MFC application Pin
JackDingler7-Feb-12 8:51
JackDingler7-Feb-12 8:51 
GeneralRe: Multiple monitor support for MFC application Pin
Ashish Ranjan Mishra7-Feb-12 16:01
Ashish Ranjan Mishra7-Feb-12 16:01 
GeneralRe: Multiple monitor support for MFC application Pin
JackDingler7-Feb-12 16:45
JackDingler7-Feb-12 16:45 
AnswerRe: Multiple monitor support for MFC application Pin
Anu_Bala7-Feb-12 23:23
Anu_Bala7-Feb-12 23:23 
QuestionVS 2010 MFC derived CListbox with dynamically addedCtoolbar Pin
Fallen1235-Feb-12 10:05
Fallen1235-Feb-12 10:05 
AnswerRe: VS 2010 MFC derived CListbox with dynamically addedCtoolbar Pin
Eugen Podsypalnikov5-Feb-12 20:32
Eugen Podsypalnikov5-Feb-12 20:32 
GeneralRe: VS 2010 MFC derived CListbox with dynamically addedCtoolbar Pin
Fallen1235-Feb-12 23:48
Fallen1235-Feb-12 23:48 

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.