Hi, whats the answer of this easy question ?:confused: :grin:
ByE
ByE
should be checked by the WndProc of the EditBox. If you want to handle it you should subclass the edit box assigning it your own WndProc. Take a look to the Iczelion tutorials and examples, them are very good and clean.
B7
B7
He means this:
did some formatting
invoke CreateWindowEx,WS_EX_CLIENTEDGE,
sadd("EDIT"),NULL,
WS_CHILD or WS_CLIPCHILDREN or \
WS_VISIBLE or WS_VSCROLL or WS_HSCROLL,
0,0,0,0,hWnd,0,hInstance,0
invoke SetWindowLong,eax,GWL_WNDPROC,addr EditProc
mov EditOldWndProc, eax
...
EditProc PROC hEdit:DWORD,uMsg:DWORD,wParam:DWORD,lParam:DWORD
mov eax,wParam
.if al==VK_RETURN
;do stuff here because Enter was pressed !
.else
invoke CallWindowProc,EditOldWndProc,\
hEdit,uMsg,\
wParam,lParam
ret
.endif
xor eax,eax
ret
EditProc endp
did some formatting
thx jmmyclif, i've got no much time in these days to replay back...
np :) It's not that I wrote that thing from scratch - I just copy pasted out of an recent project ;)
Thank you very much!