Hi!
How to determine if the user has pressed the enter key in an edit control? Here's my attempt, but it doesn't work.
Code:case WM_NOTIFY: if((((LPNMHDR) lparam)->code)==NM_CHAR && (((LPNMHDR) lparam)->hwndFrom)==editHwnd) { MessageBox(0,"ytr",0,0); if(((LPNMCHAR)lparam)->ch==VK_RETURN) MessageBox(0,0,0,0); } break;