Re: How do i get onChange event from RichEdit?

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

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu