//m_wndCtrl就是一个CDialog派生类的对象那就不用在对话框的OnCreate中调用m-wndCtrl的Create了,对话框会自动调用的。也不需要使用Rebar你只需要在对话框的OnInitDialog中: m_wndCtrl.MoveWindow();将它显示出来就可以的。