Edit box problem
Im trying to make an mfc application. All i want to do at the moment is type something into an edit box then click add and whatever you have typed into the edit box appears in a different read only edit box. I can do this no problem but what I want it to be able to do is each time you click on add, the string in that edit box appears under the string (if there is one) in the read only edit box.At the moment the new string just replaces the old string (if the read only edit box isnt empty). Im using a dialog based mfc app. Can somebody give me any hints or something?
Thanks very much for your time
Just my thoughts take them as you will.
"People spend too much time thinking about the past, whatever else it is, its gone"-Mel Gibson, Man Without A Face
Just my thoughts take them as you will. "People spend too much time thinking about the past, whatever else it is, its gone"-Mel Gibson, Man Without A Face
February 20, 2001 09:22 AM
It sounds like you want to add strings to a combo box. Change your read only control to a combo box, then everytime you click your button take the string from your edit control and send a CB_ADDSTRING to the combo box.
I may have also misinterpreted the question!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement