void CKeyStrokesView::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags) { // TODO: Add your message handler code here and/or call default CKeyStrokesDoc *pDoc = GetDocument(); ASSERT_VALID(pDoc); pDoc->stringdata += nChar; Invalidate(); CView::OnChar(nChar, nRepCnt, nFlags); }
nChar
UINT
CString()
pDoc->stringdata += (TCHAR)nChar;
... CString cszTemp; cszTemp.Format(_T("%u;"), nChar); pcDoc->m_strData += cszTemp; ...
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)