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

C / C++ / MFC

 
AnswerRe: How to change a alignment of CStatic Label at run time? Pin
Le@rner12-Jan-16 18:23
MemberLe@rner12-Jan-16 18:23 
GeneralRe: How to change a alignment of CStatic Label at run time? Pin
Richard MacCutchan12-Jan-16 21:20
mveRichard MacCutchan12-Jan-16 21:20 
QuestionHow to determine whether the disk is bitlocker? Pin
AnsiliWork8-Jan-16 19:29
MemberAnsiliWork8-Jan-16 19:29 
AnswerRe: How to determine whether the disk is bitlocker? Pin
Richard MacCutchan8-Jan-16 22:51
mveRichard MacCutchan8-Jan-16 22:51 
QuestionObject Data lost when dialog is moved 'off screen Pin
Member 122530108-Jan-16 12:24
MemberMember 122530108-Jan-16 12:24 
AnswerRe: Object Data lost when dialog is moved 'off screen Pin
Richard Andrew x648-Jan-16 15:34
professionalRichard Andrew x648-Jan-16 15:34 
GeneralRe: Object Data lost when dialog is moved 'off screen Pin
Member 1225301011-Jan-16 5:45
MemberMember 1225301011-Jan-16 5:45 
QuestionHow to analyze what time Windows 7(XP) once run any program? Pin
AnsiliWork7-Jan-16 14:55
MemberAnsiliWork7-Jan-16 14:55 
SuggestionRe: How to analyze what time Windows 7(XP) once run any program? Pin
Richard MacCutchan7-Jan-16 22:08
mveRichard MacCutchan7-Jan-16 22:08 
GeneralRe: How to analyze what time Windows 7(XP) once run any program? Pin
AnsiliWork8-Jan-16 19:32
MemberAnsiliWork8-Jan-16 19:32 
QuestionRe: How to analyze what time Windows 7(XP) once run any program? Pin
David Crow8-Jan-16 11:56
MemberDavid Crow8-Jan-16 11:56 
AnswerRe: How to analyze what time Windows 7(XP) once run any program? Pin
AnsiliWork8-Jan-16 20:31
MemberAnsiliWork8-Jan-16 20:31 
QuestionStrange CListBox Behavior Pin
wdolson7-Jan-16 14:44
Memberwdolson7-Jan-16 14:44 
GeneralRe: Strange CListBox Behavior Pin
Richard MacCutchan7-Jan-16 22:07
mveRichard MacCutchan7-Jan-16 22:07 
GeneralRe: Strange CListBox Behavior Pin
Jochen Arndt7-Jan-16 22:18
professionalJochen Arndt7-Jan-16 22:18 
SuggestionRe: Strange CListBox Behavior Pin
Jochen Arndt7-Jan-16 22:17
professionalJochen Arndt7-Jan-16 22:17 
GeneralRe: Strange CListBox Behavior Pin
wdolson7-Jan-16 22:42
Memberwdolson7-Jan-16 22:42 
GeneralRe: Strange CListBox Behavior Pin
Richard MacCutchan7-Jan-16 22:51
mveRichard MacCutchan7-Jan-16 22:51 
AnswerRe: Strange CListBox Behavior Pin
wdolson7-Jan-16 23:09
Memberwdolson7-Jan-16 23:09 
GeneralRe: Strange CListBox Behavior Pin
Jochen Arndt7-Jan-16 23:11
professionalJochen Arndt7-Jan-16 23:11 
GeneralRe: Strange CListBox Behavior Pin
wdolson7-Jan-16 23:18
Memberwdolson7-Jan-16 23:18 
GeneralRe: Strange CListBox Behavior Pin
Jochen Arndt7-Jan-16 23:26
professionalJochen Arndt7-Jan-16 23:26 
GeneralRe: Strange CListBox Behavior Pin
wdolson7-Jan-16 23:33
Memberwdolson7-Jan-16 23:33 
That's the problem! For some reason when setting the left box, the exclamation point was in there, but it was missing from the setting of the right box. That usually flags an warning on compile. I wonder why it wasn't.

It appears SetItemData is doing something though. The value returned with GetItemData is always the last value on the list. The list redraws after a move, so all the items were probably getting set to the last value for some reason I don't understand.

It works now.

I think I need glasses...

Thanks!
GeneralRe: Strange CListBox Behavior Pin
Jochen Arndt7-Jan-16 23:42
professionalJochen Arndt7-Jan-16 23:42 
GeneralRe: Strange CListBox Behavior Pin
Richard MacCutchan8-Jan-16 1:04
mveRichard MacCutchan8-Jan-16 1:04 

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.