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

C / C++ / MFC

 
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 
Sorry about the formatting, it was the first time I posted anything with code here.

The value is not always the same, it's whatever is last on the list. If the right list has the following strings:

"1"
"2"
"4"
"7"
"10"
"11"

Selecting "2" and clicking on the move left button will get the "11" and it will be moved to the left. If you then select the "2" again (or anything else on the list) and click on the move left button, the "10" will be selected and moved.

What gets selected is whatever is last on the list. The code for moving from the left box to the right is identical except for the control name and selecting the "2" would actually fetch the "2" from index 1 and move it.

The index fetched in both cases is correct. What isn't working is the code that gets the value for the index.

I'm completely baffled. The two are coded the same.
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 
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 
QuestionEasy to use asymmetric (public key) encryption Pin
peterchen6-Jan-16 5:26
Memberpeterchen6-Jan-16 5:26 
QuestionHow to communicate between two different app using SendMessage API? Pin
Anasuya201529-Dec-15 19:56
MemberAnasuya201529-Dec-15 19:56 
AnswerRe: How to communicate between two different app using SendMessage API? Pin
Richard MacCutchan29-Dec-15 22:29
mveRichard MacCutchan29-Dec-15 22:29 
GeneralRe: How to communicate between two different app using SendMessage API? Pin
Anasuya201530-Dec-15 2:32
MemberAnasuya201530-Dec-15 2:32 
QuestionRe: How to communicate between two different app using SendMessage API? Pin
Richard MacCutchan30-Dec-15 2:41
mveRichard MacCutchan30-Dec-15 2:41 
AnswerRe: How to communicate between two different app using SendMessage API? Pin
Anasuya201530-Dec-15 3:06
MemberAnasuya201530-Dec-15 3:06 
GeneralRe: How to communicate between two different app using SendMessage API? Pin
Richard MacCutchan30-Dec-15 4:29
mveRichard MacCutchan30-Dec-15 4:29 
SuggestionRe: How to communicate between two different app using SendMessage API? Pin
David Crow30-Dec-15 10:28
MemberDavid Crow30-Dec-15 10:28 
AnswerRe: How to communicate between two different app using SendMessage API? Pin
Arthur V. Ratz30-Dec-15 2:42
mvaArthur V. Ratz30-Dec-15 2:42 

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.