How do I use GetSelText to find the newline richedit content?
Time:10-17
Like (m_richctrl GetSelText ()==""), I tried" \ n "and" \ r \ n "have no, thank you!
CodePudding user response:
Newline character also can choose? GetSelText access to the selected string, if you choose except newline and other content, the content of the this is definitely not equal
CodePudding user response:
You can use the GetDlgItemText read cstrings class object, and then using cstrings: : Find () try ~