Hi,
I have problem with EditBox.
I want know when msg from editbox send is to Scroll and vica versa.
I try with EN_VSCROLL, EM_LINESCROLL and EM_SCROLL but that don't do that what I want.
I'm using subclassing
My code...:
EditProc ...
...
.elseif uMsg == EN_VSCROLL
invoke MessageBox,hWnd,offset MDI,offset MDI,MB_OK
.else
...
Duracell
P.S. I don't want WM_VSCROLL use. I want only know when edit is sending msg to scroll and vica versa. I know i can use WM_VSCROLL that isn't that what i want. Why? Becouse when in editbox is next line active WM_SCROLL isn't send.
I'm not sure what you are trying to do, but the EN_VSCROLL notification (http://msdn2.microsoft.com/en-us/library/ms672118.aspx) is sent in a WM_COMMAND message, so the code would need to be something like:
.elseif uMsg == WM_COMMAND
mov eax, wParam
shr eax, 16
.if eax == EN_VSCROLL
invoke MessageBox,hWnd,offset MDI,offset MDI,MB_OK
.endif
.else
Thank u... I forgot about notification. Here I have error and second I wanted subclassing. Now ererything is ok... thx one more time.
And can i catch a msg [EM_LINESCROLL]?