Re: How do i get onChange event from RichEdit?
- Posted by Thomas Julin <foxrym at yahoo.com> Mar 20, 2006
- 985 views
Derek Parnell wrote: > > Thomas Julin wrote: > > > > Derek Parnell wrote: > > > > > > Thomas Julin wrote: > > > > > > > > > > > > How do i get onChange event from RichEdit? > > > > > Ok, I've found the fix required. You have to add two lines to win32lib.ew ... > > Find the line ... > {EDIT,EN_CHANGE}, -- editbox notify change > > and add this line after it ... > > {COMMON_CONTROL,EN_CHANGE}, -- richedit notify change > > Then find the line ... > {w32HChange, w32CHG_Chg}, -- editbox notify change > > > and add this line after it ... > {w32HChange, w32CHG_Chg}, -- richedit notify change > > This will get it working. I'll add this improvement to the library ASAP. > > You will still need to send the EM_SETEVENTMASK message for now too. Thank you. Julin