DrawText automatically breaks line when inputting text.
In single line I can use GetOutputTextExtent
to locate a single letter. But with automatic line break I can't get the exact text of a single line. So I can't locate a letter (to be exact where the cursor is).
I have no experience in text editor in MFC-related programming.