I need to use a small editor (under the Win32 API) in my school assignment,
but the "edit" control is too simple to be useful. I need (at least) to add
some functions, like inserting spaces at the end of some lines (to make the
control movement work correctly, that is, when going up, keeping in the same
column) or making something like "auto indent".
I know I can "subclassify" the edit class, that is, I can redefine the
of the control, and process the messages by myself, BUT I can't find some
1. The position of the caret into the text (not only retrieving the
but also changing the position)
2. The cursor movement operations
I really need it FAST. would appreciate if someone knows where could I find
tutorial, or source code, or ANYTHING about it. I've read the "Programming
Windows" (5th edition) by Charles Petzold, but there are only two paragraphs
about "edit" windows.
Thank you very much.