i want to check when someone change the text in my RichEdit:

mov eax,wParam
mov edx,eax
shr edx,16
;meny and stuff
.if ax==1
invoke MessageBox,hWnd,ADDR helptext,ADDR titles,MB_OK

my menu if working, but it cant show that message when i change in my richEdit
Posted on 2003-09-13 09:00:10 by bj1500
In your code, AX is the LO_WORD of the wParam and would contain the ID of the control.

If you assigned the value of 1 as the ID of your rich edit control, your code should work. If the ID of your rich edit control is NOT 1, try using:
.if ax==proper ID value of rich edit control

Posted on 2003-09-13 13:03:01 by Raymond

i'm sure that it is the correct ID.
even if i have:
invoke MessageBox,hWnd,ADDR helptext,ADDR titles,MB_OK

it dosent work.
So why doesnt the message EN_CHANGE being sent?
Posted on 2003-09-13 13:07:45 by bj1500
Well, AFAIK EN_CHANGE is sent only on a screen update you need EN_UPDATE which is sent when the Rich Edit is updated.
Posted on 2003-09-13 14:35:13 by donkey
haha thank you!!!
Posted on 2003-09-13 14:43:39 by bj1500