CMineWnd *pMine = (CMineWnd*)AfxGetMainWnd();//实例化并初始化赋值,类型强转ResetRecord本来就不是“CWnd”的成员,他是CMainWnd的成员,怎么能乱用?
((CMineWnd*)AfxGetMainWnd())->ResetRecord(); 优先级