第一个问题:
选中编辑框,右键属性,然后选中Auto VScroll,就有自动换行的功能。不知道你说的是不是这个意思。第二个问题:
重载函数PreTranslateMessage(MSG* pMsg)
{
// TODO: Add your specialized code here and/or call the base class
if(pMsg->message == WM_KEYDOWN)
{
if(pMsg->wParam == VK_TAB)
{
//AfxMessageBox("you press tab key");
return TRUE;
}
}
}
选中编辑框,右键属性,然后选中Auto VScroll,就有自动换行的功能。不知道你说的是不是这个意思。第二个问题:
重载函数PreTranslateMessage(MSG* pMsg)
{
// TODO: Add your specialized code here and/or call the base class
if(pMsg->message == WM_KEYDOWN)
{
if(pMsg->wParam == VK_TAB)
{
//AfxMessageBox("you press tab key");
return TRUE;
}
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货