Re: w32HChange event on RichEdit
- Posted by Rad <radhx at rediffmail.com> May 02, 2007
- 484 views
CChris wrote: > > You'll have to instruct the control to issue the EN_CHANGE notification, > on which the library fires w32HChange. By default, the control doesn't > send any EN_* notification. > > }}} <eucode> > atom flags,void > flags=sendMessage(myRichId,EM_GETEVENTMASK,0,0) > flags=or_bits(flags,ENM_CHANGE) > void=sendMessage(myRichId,EM_SETEVENTMASK,0,flags) > </eucode> {{{ Hi CChris, I am getting "has not been declared" error for EM_GETEVENTMASK and EM_SETEVENTMASK. I checked in win32lib.ew, where EN_CHANGE is declared, but above 2 variables are not present. I am using win32lib includes from IDEwin32lib 0.60.6. (Judith's IDE) Is this the latest one? What are the values for EM_GETEVENTMASK and EM_SETEVENTMASK which I can declare in win32lib.ew? Regards, Rad.