ugh I've been trying to get this to work for the past 2 days.

using GUI builder in Visual Studio 2008, I drag & dropped CEdit control on my single dialog application.
Then I added a variable to it - m_adrbox (not sure if I needed it)

At the top of the myDialogDlg.cpp source I modified my message map:

Code:
BEGIN_MESSAGE_MAP(CrsClientDlg, CDialog)
ON_BN_CLICKED(IDC_BUTTON1, &CrsClientDlg::OnBnClickedButton1)
              ON_WM_CHAR(IDC_EDIT1, &CrsClientDlg::OnChar)
END_MESSAGE_MAP()
I have onChar method and the code compiles fine. But the CEdit does not respond to OnChar messages.

what is the problem?