一个低级错误啊~~
真机debug,初始化对话框时,跳出错误:
If this dialog has OLE controls:
AfxEnableControlContainer has not been called yet.
You should call it in your app's InitInstance function.
原因是把对话框的style设置为child了,改回popup正常。