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.
I have this function open a MessageBox for debugging purposes, and it shows that the ModifiedMessage function is never called.Code:case WM_KEYDOWN: ModifiedMessage(hwnd); break;
#Edit:
I already got it working with adding this to the WM_COMMAND case:
I hope, this won't mess up anything else.Code:case WM_COMMAND: if (HIWORD(wParam) == EN_CHANGE) { ModifiedMessage(hwnd); break; }



LinkBack URL
About LinkBacks


