博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

下次上班工作

Posted on 2008-09-28 11:49  浪端之渡鸟  阅读(196)  评论(0编辑  收藏  举报

BOOL CMyEdit::PreTranslateMessage(MSG* pMsg)
{
 // TODO: 在此添加专用代码和/或调用基类

 if (pMsg->message == WM_KEYDOWN)
 {
  if (pMsg->wParam == VK_RETURN)
  {
   GetWindowText(stringEditValue);
   return true;
  }
 }

 return CEdit::PreTranslateMessage(pMsg);
}

怎么样添加换行换列函数!