这些代码是 WM_CHAR 处理程序,但是在键入一些单词时什么也不输出??
void CMy3456View::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags)
{
Invalidate(true);
//MessageBox(L"dfs");//enable this line,then the outputs turns normal,why???
CClientDC dc(this);
CString c=L"";
c.Format(L"%c",nChar);
dc.TextOutW(0,0,c);
CView::OnChar(nChar, nRepCnt, nFlags);
}