对话框style 选了child   border 选了thin  ,  作为formview的子窗口显示 BOOL CWBDialog::PreTranslateMessage(MSG* pMsg) 
{

if( pMsg->message==WM_KEYDOWN || pMsg->message==WM_CHAR)
{
int nChar = pMsg->wParam ; //加了断点 运行中没有停 如何接收键盘消息 ??