ok, first I changed my message map as I mentioned in the first post.
As I understand, from now on when CEdit control receives WM_CHAR message, it will let OnChar void to deal with it.
This is my OnChar void as it was referenced in the message map:
Code:void CrsClientDlg::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags) { // TODO: Add your message handler code here and/or call default MessageBox(L"OnChar message captured!"); }
no matter what happens. I never get the messagebox to appear which means that CEdit is not capturing WM_CHar message.
Why?
What did I do wrong?




Reply With Quote