王乐,想不起来了,呵呵

解决方案 »

  1.   

    在控件的属性中选择 mutiline。
      

  2.   

    你的问题说具体一点,是什么意思。
    如果只是要求能输入回车,选定want_return就可以了
      

  3.   

    属性-style中选上Want return就行了
      

  4.   

    同时设定mutiline和want_return属性。
      

  5.   

    mutiline
    want_returnorBOOL CJkp481Dlg::PreTranslateMessage(MSG* pMsg) 
    {
    // TODO: Add your specialized code here and/or call the base class
    if(pMsg->message == WM_KEYDOWN && (pMsg->wParam == VK_ESCAPE || pMsg->wParam == VK_RETURN))
    {
    // OnKeyDown((UINT)pMsg->wParam,(UINT)pMsg->lParam,(UINT)pMsg->lParam);
    return TRUE;
    }
    return CDialog::PreTranslateMessage(pMsg);
    }