How to get the caret's position in a richedit?
C / C++ / MFC
2
Posts
2
Posters
11
Views
1
Watching
-
Hi all, I am writing a MDI application, which views are derivated by CRichEditView. In the status bar, I want to display the current position of the caret. The line number is easy to get, just call GetRichEditCtrl().LineFromChar(-1), but how to determine the column? Thanks in advance, Thömmi
-
Hi all, I am writing a MDI application, which views are derivated by CRichEditView. In the status bar, I want to display the current position of the caret. The line number is easy to get, just call GetRichEditCtrl().LineFromChar(-1), but how to determine the column? Thanks in advance, Thömmi