Re: EditWordBreakProc

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu