Hi
I would like to display a message in a statusbar if text inside an edit box has been modified. I don't seem to get this to work. Which message should I respond to? I've tried WM_CHAR and WM_KEYDOWN in my WindowProc.
Code:
case WM_KEYDOWN:
ModifiedMessage(hwnd);
break;
I have this function open a MessageBox for debugging purposes, and it shows that the ModifiedMessage function is never called.
#Edit:
I already got it working with adding this to the WM_COMMAND case:
Code:
case WM_COMMAND:
if (HIWORD(wParam) == EN_CHANGE)
{
ModifiedMessage(hwnd);
break;
}
I hope, this won't mess up anything else.