There are two text boxes edit1, for example, edit2.
When I enter in the edit "I'm zhang, he is li si"
Also shown in edit2 "I am a small three, he was a small four"
Is said to be using the map [" zhang SAN "]="little three"; Map [" bill "]="small four"?
I am beginner, just say simple point=-=
CodePudding user response:


CodePudding user response:
You can train of thought, before and after using CMap storage mapping relationship of string, and then to look for in the first string, replace,CodePudding user response:
In response to the first Edit the EN_CHANGE news, inside find have to replace, replace the replaceFinally SetDlgItemText (the second Edit ID value, replacement cstrings)
CodePudding user response:
Using CMapStringToStringCodePudding user response:
"Cpp collection classes. Rar"http://download.csdn.net/download/schlafenhamster/5023227
"Microsoft a collection class demo: CStringList TypedPtrList
CodePudding user response:

CodePudding user response:
Upstairs you several means of
CodePudding user response:
In the baidu the MFC CMapStringToString usageCodePudding user response:
Directly in the response function is complete, a CEdit response function, modify the value of another case