添加OnChar新闻相关
AFX_MSG无效OnChar(UINT NCHAR,UINT nRepCnt,UINT NFLAGS);
然后函数添加
无效CMainWnd ::OnChar(UINT NCHAR,UINT nRepCnt,UINT NFLAGS)
{
如果(的nChar =='('||的nChar ==') '){
C字符串;
m_edit.GetWindowText(S);
S + =的nChar;
m_edit.SetWindowText(S);
}}
添加OnChar新闻相关
AFX_MSG无效OnChar(UINT NCHAR,UINT nRepCnt,UINT NFLAGS);
然后函数添加
无效CMainWnd ::OnChar(UINT NCHAR,UINT nRepCnt,UINT NFLAGS)
{
如果(的nChar =='('||的nChar ==') '){
C字符串;
m_edit.GetWindowText(S);
S + =的nChar;
m_edit.SetWindowText(S);
}}