小问题编译不过来请帮忙(在线等)——编译不通过!~
#include "StdAFX.h"
#include "mon.h"
#include "monDoc.h"
#include "monView.h"
#include "Mydatadialog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
//中间省略//
//.....................//
void CMonView::OnLButtonDblClk(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
CMydatadialog dlg;
dlg.m_radio_m=0;
dlg.m_edit_name="";
CString msg;
if(dlg.DoModal()==IDOK)
{msg="确定 按钮被按下!";}
else
{msg="取消 按钮被按下!";}
msg+="\r\n\n";
msg+="姓 名:";
msg+=dlg.m_edit_name;
msg+="\r\n";
msg+="性别:";
if(dlg.m_radio_m==0)
{msg+="男";}
else
{msg+="女";}
msg+="\r\n";
msg+="最高学历:";
msg+=dlg.m_combo_school;
msg+="\r\n";
msg+="爱好:";
if(dlg.m_check_art==true) {msg+="艺术 ";}
if(dlg.m_check_sport==true) {msg+="体育 ";}
if(dlg.m_check_music==true) {msg+="音乐";}
Afxmessagebox(msg);
CView::OnLButtonDblClk(nFlags, point);
}