刚刚看了下,在我的代码里,运行到SetTemplate后报错
if (mbTemplate = dwFlags & OFN_ENABLETEMPLATE) {
// FILEOPENORD & MULTIFILEOPENORD can be found from the Infoviewer
// at Samples -> MFC Samples -> General MFC Samples -> CLIPART -> COMMDLG.RC
// These are the customized versions
SetTemplate(1119, IDD_BOARD_SAVE_AS);