BOOL CServerInfoDlg::PreTranslateMessage(MSG* pMsg)
{
	// TODO: Add your specialized code here and/or call the base class
	if (pMsg->message == WM_KEYDOWN && pMsg->wParam == VK_RETURN)
	{
		OnBnClickedBtnOk();
	}
	return CDialogEx::PreTranslateMessage(pMsg);
}
BOOL DlgRoomLayoutWindowProperty::PreTranslateMessage(MSG* pMsg)
{
	// TODO: 在此添加专用代码和/或调用基类
	if ( pMsg->message == WM_KEYDOWN )
	{
		if ( pMsg->wParam == VK_RETURN )
		{
			OnBnClickedBtnOk();
			return TRUE;
		}

		if ( pMsg->wParam == VK_ESCAPE )
		{
			OnBnClickedBtnCancel();
			return TRUE;
		}
	}
	return CDialogEx::PreTranslateMessage(pMsg);
}