清除BCGControlBar中的记忆功能

郁闷,老是乱跑什么啊,清楚记忆功能

1、在App中注释掉

//    LoadStdProfileSettings(4);  // Load standard INI file options (including MRU)

//    SetRegistryBase (_T("Settings"));

2、在MainFrame中注释掉Onclose中的

SaveMDIState (theApp.GetRegSectionPath ());

并将原来的
    CBCGPMDIFrameWnd::OnClose();

改为

CMDIFrameWnd::OnClose();

posted on 2011-01-31 15:28  carekee  阅读(463)  评论(0)    收藏  举报