How to locate letters with DrawText() in MFC?

78 views Asked by At

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.

0

There are 0 answers