Re: EditWordBreakProc
- Posted by "Greg Haberek" <g.haberek at comcast.net> Oct 20, 2003
- 737 views
it is my understanding that your EditWordBreakProc function will be called when a richedit needs to break a line.try looking at EM_LINEFROMCHAR, EM_GETLINECOUNT, and EM_GETLINE which you could use in a KeyPress event to trap each line and make sure you don't exceed 80 characters. if you want a quicker reference to the Win32API, try downloading the Win32 help file in the Archive. ~Greg